- Don't install httpd.conf.bak

Approved by:	portmgr (self)
This commit is contained in:
Clement Laforet 2005-08-02 09:48:31 +00:00
parent 8c919ec678
commit 249e15dd30
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140732

View File

@ -47,7 +47,7 @@ if (@lmd or @amd) {
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 && " . "rm $CFG_SYSCONFDIR/$CFG_TARGET.conf.new");
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");
}