summaryrefslogtreecommitdiffstats
path: root/network/cherokee/doinst.sh
diff options
context:
space:
mode:
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 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