diff options
author | Pablo Hernan Saro <pablosaro@gmail.com> | 2010-05-13 00:35:56 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:35:56 +0200 |
commit | fef1426727f109d6a7383982f947d554af87d272 (patch) | |
tree | ae0500cd5b5a614660cadecd3f2e3904142d790b /network/cherokee/doinst.sh | |
parent | 869be710c5d74bb95304a04b80ad31a83b6f910f (diff) | |
download | slackbuilds-fef1426727f109d6a7383982f947d554af87d272.tar.gz |
network/cherokee: Updated for version 0.99.24
Diffstat (limited to 'network/cherokee/doinst.sh')
-rw-r--r-- | network/cherokee/doinst.sh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/network/cherokee/doinst.sh b/network/cherokee/doinst.sh index 5d729841f0..095b7f2381 100644 --- a/network/cherokee/doinst.sh +++ b/network/cherokee/doinst.sh @@ -9,9 +9,15 @@ config() { } if [ -e etc/rc.d/rc.cherokee ]; then - cp -a etc/rc.d/rc.cherokee etc/rc.d/rc.cherokee.new.incoming - cat etc/rc.d/rc.cherokee.new > etc/rc.d/rc.cherokee.new.incoming - mv etc/rc.d/rc.cherokee.new.incoming etc/rc.d/rc.cherokee.new + cp -a etc/rc.d/rc.cherokee etc/rc.d/rc.cherokee.new.incoming + cat etc/rc.d/rc.cherokee.new > etc/rc.d/rc.cherokee.new.incoming + mv etc/rc.d/rc.cherokee.new.incoming etc/rc.d/rc.cherokee.new +fi + +if [ -e etc/cherokee/cherokee.conf ]; then + cp -a etc/cherokee/cherokee.conf etc/cherokee/cherokee.conf.new.incoming + cat etc/cherokee/cherokee.conf.new > etc/cherokee/cherokee.conf.new.incoming + mv etc/cherokee/cherokee.conf.new.incoming etc/cherokee/cherokee.conf.new fi config etc/rc.d/rc.cherokee.new |