aboutsummaryrefslogtreecommitdiffstats
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
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.
l---------[-rw-r--r--]main/haproxy/haproxy.pre-upgrade14
l---------[-rw-r--r--]main/squid/squid.pre-upgrade9
2 files changed, 2 insertions, 21 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
diff --git a/main/squid/squid.pre-upgrade b/main/squid/squid.pre-upgrade
index 3c49c8642d..70437c5d9f 100644..120000
--- a/main/squid/squid.pre-upgrade
+++ b/main/squid/squid.pre-upgrade
@@ -1,8 +1 @@
-#!/bin/sh
-
-addgroup -S squid 2>/dev/null
-adduser -S -D -h /var/cache/squid -G squid -g squid squid 2>/dev/null
-addgroup -S winbind 2>/dev/null
-addgroup squid winbind 2>/dev/null
-
-exit 0
+squid.pre-install \ No newline at end of file