git: 1d90f5ce01b9 - main - games/zangband: Replace deprecated @exec/@unexec
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 Jul 2024 13:15:56 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=1d90f5ce01b9d082a3e42ad10c89a3f3b4db7ea6 commit 1d90f5ce01b9d082a3e42ad10c89a3f3b4db7ea6 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-07-28 13:12:35 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-07-28 13:15:19 +0000 games/zangband: Replace deprecated @exec/@unexec --- games/zangband/pkg-plist | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/games/zangband/pkg-plist b/games/zangband/pkg-plist index 4d2c7b589510..c12da31c4356 100644 --- a/games/zangband/pkg-plist +++ b/games/zangband/pkg-plist @@ -2,10 +2,10 @@ @owner games @(,,2555) %%ANGBANDBIN%% %%ANGBANDLIB%%/apex/readme.txt -@unexec cmp -s %D/%%ANGBANDLIB%%/apex/scores.raw %D/%%ANGBANDLIB%%/apex/z_scores.raw && rm %D/%%ANGBANDLIB%%/apex/scores.raw || true -@unexec cmp -s %D/%%ANGBANDLIB%%/apex/scores.raw /dev/null && rm %D/%%ANGBANDLIB%%/apex/scores.raw || true +@postunexec cmp -s %D/%%ANGBANDLIB%%/apex/scores.raw %D/%%ANGBANDLIB%%/apex/z_scores.raw && rm %D/%%ANGBANDLIB%%/apex/scores.raw || true +@postunexec cmp -s %D/%%ANGBANDLIB%%/apex/scores.raw /dev/null && rm %D/%%ANGBANDLIB%%/apex/scores.raw || true %%ANGBANDLIB%%/apex/z_scores.raw -@exec test -f %D/%%ANGBANDLIB%%/apex/scores.raw || touch %D/%%ANGBANDLIB%%/apex/scores.raw +@postexec test -f %D/%%ANGBANDLIB%%/apex/scores.raw || touch %D/%%ANGBANDLIB%%/apex/scores.raw %%ANGBANDLIB%%/edit/a_info.txt %%ANGBANDLIB%%/edit/e_info.txt %%ANGBANDLIB%%/edit/f_info.txt