mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
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.
This commit is contained in:
parent
a643ff53e5
commit
3cc3dde12d
@ -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
|
1
main/haproxy/haproxy.pre-upgrade
Symbolic link
1
main/haproxy/haproxy.pre-upgrade
Symbolic link
@ -0,0 +1 @@
|
||||
haproxy.pre-install
|
@ -1,8 +0,0 @@
|
||||
#!/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
|
1
main/squid/squid.pre-upgrade
Symbolic link
1
main/squid/squid.pre-upgrade
Symbolic link
@ -0,0 +1 @@
|
||||
squid.pre-install
|
Loading…
Reference in New Issue
Block a user