aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-11-18 12:26:40 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-11-18 12:29:53 +0000
commitd9e320690ca8e2683c24eb049ac824cf69922f51 (patch)
tree540c6610d9cf899b75b7df425788efd890e82103
parent08e9d3e703795b24eb9d904bd8bb05f3658ad06c (diff)
downloadports-d9e320690ca8e2683c24eb049ac824cf69922f51.tar.gz
ports-d9e320690ca8e2683c24eb049ac824cf69922f51.zip
net-mgmt/pandorafms_console: Avoid @exec/@unexec
Approved by: portmgr (blanket)
-rw-r--r--net-mgmt/pandorafms_console/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/pandorafms_console/pkg-plist b/net-mgmt/pandorafms_console/pkg-plist
index d2e3cf96e821..071cb4a4844f 100644
--- a/net-mgmt/pandorafms_console/pkg-plist
+++ b/net-mgmt/pandorafms_console/pkg-plist
@@ -2903,9 +2903,9 @@
%%WWWDIR%%/include/swiftmailer/swift_required.php
%%WWWDIR%%/index.php
@comment install.php
-@unexec if [ -e %D/%%WWWDIR%%/install.php ];then rm -f %D/%%WWWDIR%%/install.php ;fi
+@postunexec if [ -e %D/%%WWWDIR%%/install.php ];then rm -f %D/%%WWWDIR%%/install.php ;fi
%%WWWDIR%%/install_old.php
-@exec [ -e %B/include/config.php ] || cp -p %D/%F %B/install.php
+@postexec [ -e %B/include/config.php ] || cp -p %D/%F %B/install.php
%%WWWDIR%%/mobile/images/ajax-loader.gif
%%WWWDIR%%/mobile/images/bricks.png
%%WWWDIR%%/mobile/images/datos_blue.png