summaryrefslogtreecommitdiff
path: root/games/hatari_tos_roms/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-08-26 11:50:54 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-30 14:22:21 +0700
commit4ee8ba718a99985e27acfe8bc3610058af3fb3b8 (patch)
tree0d03e122d67e27a416cbbec8dfd2c1bf0df7cc47 /games/hatari_tos_roms/doinst.sh
parentb7d983c6517b38e407003ddfd50c39f79177c8b3 (diff)
downloadslackbuilds-4ee8ba718a99985e27acfe8bc3610058af3fb3b8.tar.gz
games/hatari_tos_roms: Updated for version 20140825.
Include TOS 1.04 images, simplify script Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/hatari_tos_roms/doinst.sh')
-rw-r--r--games/hatari_tos_roms/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/hatari_tos_roms/doinst.sh b/games/hatari_tos_roms/doinst.sh
new file mode 100644
index 0000000000..5d2f30e94b
--- /dev/null
+++ b/games/hatari_tos_roms/doinst.sh
@@ -0,0 +1,4 @@
+# If there's no tos.img symlink, take over with "rainbow TOS"
+if [ ! -r usr/share/hatari/tos.img ]; then
+ ( cd usr/share/hatari ; ln -sf tos-1.04-uk.img tos.img )
+fi