packager.io centos fixes
This commit is contained in:
parent
b898d2de60
commit
65324e99e8
2 changed files with 2 additions and 15 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
Loading…
Reference in a new issue