aboutsummaryrefslogtreecommitdiff
path: root/network/cherokee/doinst.sh
diff options
context:
space:
mode:
authorPablo Hernan Saro <pablosaro@gmail.com>2010-05-13 00:35:56 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:35:56 +0200
commitfef1426727f109d6a7383982f947d554af87d272 (patch)
treeae0500cd5b5a614660cadecd3f2e3904142d790b /network/cherokee/doinst.sh
parent869be710c5d74bb95304a04b80ad31a83b6f910f (diff)
network/cherokee: Updated for version 0.99.24
Diffstat (limited to 'network/cherokee/doinst.sh')
-rw-r--r--network/cherokee/doinst.sh12
1 files changed, 9 insertions, 3 deletions
diff --git a/network/cherokee/doinst.sh b/network/cherokee/doinst.sh
index 5d729841f008..095b7f2381ff 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