summaryrefslogtreecommitdiff
path: root/games/jfsw_demo_data/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-07-21 15:06:20 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-07-28 08:51:51 +0700
commit25bfcdf5b3c4901efc46e24f10b2f28297056524 (patch)
treebab8649f3d48f13a9540299df07ebd3300785a63 /games/jfsw_demo_data/doinst.sh
parentdfb41ffb5d03e79baa8fd83cf76070691f487ac5 (diff)
downloadslackbuilds-25bfcdf5b3c4901efc46e24f10b2f28297056524.tar.gz
games/jfsw_demo_data: Add missing doinst.sh.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/jfsw_demo_data/doinst.sh')
-rw-r--r--games/jfsw_demo_data/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/jfsw_demo_data/doinst.sh b/games/jfsw_demo_data/doinst.sh
new file mode 100644
index 0000000000..6116872188
--- /dev/null
+++ b/games/jfsw_demo_data/doinst.sh
@@ -0,0 +1,4 @@
+# If there's no sw.grp link, take over:
+if [ ! -r usr/share/games/jfsw/sw.grp ]; then
+ ( cd usr/share/games/jfsw/ ; ln -sf sw_demo.grp sw.grp )
+fi