aboutsummaryrefslogtreecommitdiffstats
path: root/games/ladder/pkg-plist
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-09-28 10:08:28 +0800
committersteve <steve@FreeBSD.org>1998-09-28 10:08:28 +0800
commitda15cde4f97732e30c499b88e01d8f2aa1cbd43a (patch)
tree58cc95c10a2b8e42d4a97574944824dd423cd129 /games/ladder/pkg-plist
parent51ebb538ebef3cd1cf3f6a1a499e64d2bddffc05 (diff)
downloadfreebsd-ports-gnome-da15cde4f97732e30c499b88e01d8f2aa1cbd43a.tar.gz
freebsd-ports-gnome-da15cde4f97732e30c499b88e01d8f2aa1cbd43a.tar.zst
freebsd-ports-gnome-da15cde4f97732e30c499b88e01d8f2aa1cbd43a.zip
Only remove the scores file if it exists.
Diffstat (limited to 'games/ladder/pkg-plist')
-rw-r--r--games/ladder/pkg-plist2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/ladder/pkg-plist b/games/ladder/pkg-plist
index ffb36b3a0562..a4f559d9c44b 100644
--- a/games/ladder/pkg-plist
+++ b/games/ladder/pkg-plist
@@ -1,2 +1,2 @@
bin/ladder
-@unexec rm /var/games/ladder.scores
+@unexec if [ -f /var/games/ladder.scores ] ; then rm /var/games/ladder.scores; fi