aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache20/files/patch-support:apxs.in
blob: db8081fa4fc52210ed58bc5a4fc8f08c2d334487 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- support/apxs.in.orig    Mon Nov 29 10:24:23 2004
+++ support/apxs.in Mon Nov 29 10:25:05 2004
@@ -629,8 +629,7 @@
             if (open(FP, ">$CFG_SYSCONFDIR/$CFG_TARGET.conf.new")) {
                 print FP $content;
                 close(FP);
-                system("cp $CFG_SYSCONFDIR/$CFG_TARGET.conf $CFG_SYSCONFDIR/$CFG_TARGET.conf.bak && " .
-                       "cp $CFG_SYSCONFDIR/$CFG_TARGET.conf.new $CFG_SYSCONFDIR/$CFG_TARGET.conf && " .
+                system("cp $CFG_SYSCONFDIR/$CFG_TARGET.conf.new $CFG_SYSCONFDIR/$CFG_TARGET.conf && " .
                        "rm $CFG_SYSCONFDIR/$CFG_TARGET.conf.new");
             } else {
                 notice("unable to open configuration file");