aboutsummaryrefslogtreecommitdiff
path: root/games/xnethack/files/pkg-deinstall.in
diff options
context:
space:
mode:
Diffstat (limited to 'games/xnethack/files/pkg-deinstall.in')
-rw-r--r--games/xnethack/files/pkg-deinstall.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/xnethack/files/pkg-deinstall.in b/games/xnethack/files/pkg-deinstall.in
new file mode 100644
index 000000000000..04e356acdf02
--- /dev/null
+++ b/games/xnethack/files/pkg-deinstall.in
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+if [ "${2}" = "POST-DEINSTALL" ]; then
+ if [ -d "${PKG_PREFIX}/%%HACKDIR%%" ]; then
+ echo
+ echo "The ${1} save files have not been removed."
+ echo
+ echo "If you are deleting ${1} permanently then you can "
+ echo "remove the save files with the command:"
+ echo
+ echo " rm -rf ${PKG_PREFIX}/%%HACKDIR%%"
+ echo
+ fi
+fi