From 3cc3dde12d39c8bb39cd17c01b04c117691ffa59 Mon Sep 17 00:00:00 2001 From: Przemyslaw Pawelczyk Date: Tue, 28 Jun 2016 20:41:45 +0200 Subject: 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. --- main/haproxy/haproxy.pre-upgrade | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) mode change 100644 => 120000 main/haproxy/haproxy.pre-upgrade (limited to 'main/haproxy') diff --git a/main/haproxy/haproxy.pre-upgrade b/main/haproxy/haproxy.pre-upgrade deleted file mode 100644 index 85cefc9814..0000000000 --- a/main/haproxy/haproxy.pre-upgrade +++ /dev/null @@ -1,13 +0,0 @@ -#!/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 diff --git a/main/haproxy/haproxy.pre-upgrade b/main/haproxy/haproxy.pre-upgrade new file mode 120000 index 0000000000..5333b5933f --- /dev/null +++ b/main/haproxy/haproxy.pre-upgrade @@ -0,0 +1 @@ +haproxy.pre-install \ No newline at end of file -- cgit v1.2.3