Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2023 12:30:09 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d9e320690ca8 - main - net-mgmt/pandorafms_console: Avoid @exec/@unexec
Message-ID:  <202311181230.3AICU9wf019926@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311181230.3AICU9wf019926>