diff options
author | Cherife Li <cherife-#-dotimes.com> | 2010-05-13 00:36:38 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:36:38 +0200 |
commit | ae3b99d9b670a894af0faf650ac5ff1b0fb2f48e (patch) | |
tree | 5ea3d82936dd7ca60d2b80e73dfe7e8ae2f2da97 /network/haproxy/doinst.sh | |
parent | 1ff9eced8670b0de46435ecb3fa947fbb31fbc15 (diff) | |
download | slackbuilds-ae3b99d9b670a894af0faf650ac5ff1b0fb2f48e.tar.gz |
network/haproxy: Updated for version 1.3.15.7
Diffstat (limited to 'network/haproxy/doinst.sh')
-rw-r--r-- | network/haproxy/doinst.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/network/haproxy/doinst.sh b/network/haproxy/doinst.sh index 3560e24e37..ead1b65ea4 100644 --- a/network/haproxy/doinst.sh +++ b/network/haproxy/doinst.sh @@ -11,4 +11,11 @@ config() { # Otherwise, we leave the .new copy for the admin to consider... } +# Keep same perms on rc.haproxy.new: +if [ -e etc/rc.d/rc.haproxy ]; then + cp -a etc/rc.d/rc.haproxy etc/rc.d/rc.haproxy.new.incoming + cat etc/rc.d/rc.haproxy.new > etc/rc.d/rc.haproxy.new.incoming + mv etc/rc.d/rc.haproxy.new.incoming etc/rc.d/rc.haproxy.new +fi + config etc/rc.d/rc.haproxy.new |