From f07982daf58dece18a3cebdf34c338e2eef22293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Mon, 31 Oct 2016 13:40:00 +0100 Subject: [PATCH] fix nginx install on centos (#336) fix nginx install on centos (#336) --- .pkgr.yml | 2 -- contrib/packager.io/preinstall.sh | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pkgr.yml b/.pkgr.yml index 68e6b8d78..ca301daad 100644 --- a/.pkgr.yml +++ b/.pkgr.yml @@ -2,11 +2,9 @@ notifications: false targets: centos-6: dependencies: - - nginx - postgresql-server centos-7: dependencies: - - nginx - postgresql-server debian-8: dependencies: diff --git a/contrib/packager.io/preinstall.sh b/contrib/packager.io/preinstall.sh index 1bc7e735f..c462aed21 100755 --- a/contrib/packager.io/preinstall.sh +++ b/contrib/packager.io/preinstall.sh @@ -5,8 +5,10 @@ PATH=/opt/zammad/bin:/opt/zammad/vendor/bundle/bin:/sbin:/bin:/usr/sbin:/usr/bin: -# install epel-release on centos (needed for nginx) +# install epel-release & nginx on centos because it does not work via dependencies if [ -n "$(which yum)" ]; then yum install -y epel-release + + yum install -y nginx fi