From 65324e99e86fe1243b983bb011edac5c7942d5fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Mon, 31 Oct 2016 14:12:35 +0100 Subject: [PATCH] packager.io centos fixes --- .pkgr.yml | 3 ++- contrib/packager.io/preinstall.sh | 14 -------------- 2 files changed, 2 insertions(+), 15 deletions(-) delete mode 100755 contrib/packager.io/preinstall.sh diff --git a/.pkgr.yml b/.pkgr.yml index ca301daad..c2c3178ac 100644 --- a/.pkgr.yml +++ b/.pkgr.yml @@ -2,9 +2,11 @@ notifications: false targets: centos-6: dependencies: + - nginx - postgresql-server centos-7: dependencies: + - nginx - postgresql-server debian-8: dependencies: @@ -30,5 +32,4 @@ env: - PORT=3000 services: - postgres -before_install: contrib/packager.io/preinstall.sh after_install: contrib/packager.io/postinstall.sh diff --git a/contrib/packager.io/preinstall.sh b/contrib/packager.io/preinstall.sh deleted file mode 100755 index a1da656c3..000000000 --- a/contrib/packager.io/preinstall.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash -# -# packager.io preinstall script -# - -PATH=/opt/zammad/bin:/opt/zammad/vendor/bundle/bin:/sbin:/bin:/usr/sbin:/usr/bin: - -# install epel-release & nginx on centos because it does not work via dependencies -if [ -n "$(which yum)" ]; then - yum install -y -q epel-release - - yum install -y -q nginx -fi -