aboutsummaryrefslogtreecommitdiffstats
path: root/main/haproxy
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@zoho.com>2016-06-28 20:41:45 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-06-29 09:48:24 +0000
commit3cc3dde12d39c8bb39cd17c01b04c117691ffa59 (patch)
tree2137ba339dafe0c5140f176df7b427debf5f6348 /main/haproxy
parenta643ff53e5b74b2453095c24d547cb3c02b59dd1 (diff)
downloadaports-3cc3dde12d39c8bb39cd17c01b04c117691ffa59.tar.bz2
aports-3cc3dde12d39c8bb39cd17c01b04c117691ffa59.tar.xz
main/{haproxy,squid}: Replace .pre-upgrade with link to .pre-install.
.pre-upgrade content was the same as .pre-install, so no change in .apk, thus no pkgrel bump.
Diffstat (limited to 'main/haproxy')
l---------[-rw-r--r--]main/haproxy/haproxy.pre-upgrade14
1 files changed, 1 insertions, 13 deletions
diff --git a/main/haproxy/haproxy.pre-upgrade b/main/haproxy/haproxy.pre-upgrade
index 85cefc9814..5333b5933f 100644..120000
--- a/main/haproxy/haproxy.pre-upgrade
+++ b/main/haproxy/haproxy.pre-upgrade
@@ -1,13 +1 @@
-#!/bin/sh
-
-addgroup -S haproxy 2>/dev/null
-adduser -S -D -H -h /var/lib/haproxy -s /bin/false \
- -G haproxy -g haproxy haproxy 2>/dev/null
-
-# move config to new location
-if [ -e /etc/haproxy.cfg ] && ! [ -e /etc/haproxy/haproxy.cfg ]; then
- mkdir -p /etc/haproxy
- mv /etc/haproxy.cfg /etc/haproxy/haproxy.cfg
-fi
-
-exit 0
+haproxy.pre-install \ No newline at end of file