- Don't install httpd.conf.bak
Approved by: portmgr (self)
This commit is contained in:
parent
8c919ec678
commit
249e15dd30
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140732
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user