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