git: d9e320690ca8 - main - net-mgmt/pandorafms_console: Avoid @exec/@unexec
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 Nov 2023 12:30:09 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d9e320690ca8e2683c24eb049ac824cf69922f51
commit d9e320690ca8e2683c24eb049ac824cf69922f51
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-11-18 12:26:40 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-11-18 12:29:53 +0000
net-mgmt/pandorafms_console: Avoid @exec/@unexec
Approved by: portmgr (blanket)
---
net-mgmt/pandorafms_console/pkg-plist | 4 ++--
1 file 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