git: d9127276e770 - main - games/tt: Use postunexec instead of unexec
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 Jul 2024 13:15:48 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=d9127276e770eacc9fbfd46d6a4c84bdb323b8e1 commit d9127276e770eacc9fbfd46d6a4c84bdb323b8e1 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-07-27 22:59:02 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-07-28 13:15:14 +0000 games/tt: Use postunexec instead of unexec - Sanitize the pkg-plist --- games/tt/pkg-plist | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/games/tt/pkg-plist b/games/tt/pkg-plist index 03b2a513d96f..45af2a2f07dd 100644 --- a/games/tt/pkg-plist +++ b/games/tt/pkg-plist @@ -1,6 +1,4 @@ -@group games -@mode 2555 -bin/tt +@(,games,2555) bin/tt @mode @group -@unexec if [ -f /var/games/ttscores ]; then rm /var/games/ttscores; fi +@postunexec if [ -f /var/games/ttscores ]; then rm /var/games/ttscores; fi