diff options
author | B. Watson <yalhcru@gmail.com> | 2020-04-27 00:53:28 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-05-03 08:48:50 +0700 |
commit | 0cb1f29dbb533193ec76e27ed16c4fa63ef990a5 (patch) | |
tree | 463df6c70cfdc0203cddd6d5dd4e05376b886f30 /games/hatari/hatariui-create-cfg-if-missing.diff | |
parent | 0ce644acc46cc9a428753bb94b0158786f3dd253 (diff) |
games/hatari: Support IPF/CTR images, various fixes.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/hatari/hatariui-create-cfg-if-missing.diff')
-rw-r--r-- | games/hatari/hatariui-create-cfg-if-missing.diff | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/games/hatari/hatariui-create-cfg-if-missing.diff b/games/hatari/hatariui-create-cfg-if-missing.diff new file mode 100644 index 0000000000000..13637fce44695 --- /dev/null +++ b/games/hatari/hatariui-create-cfg-if-missing.diff @@ -0,0 +1,17 @@ +diff -Naur hatari-2.2.1/python-ui/hatariui hatari-2.2.1.patched/python-ui/hatariui +--- hatari-2.2.1/python-ui/hatariui 2019-02-08 03:30:10.000000000 -0500 ++++ hatari-2.2.1.patched/python-ui/hatariui 2020-04-27 00:47:57.786768381 -0400 +@@ -3,6 +3,13 @@ + # Don't modify the 'path' or 'conf' variable names or initial values, + # those will be replaced by Makefile when this script is installed. + ++# 20200426 bkw: create default config file if missing ++[ -e ~/.config/hatari/hatari.cfg ] || ( ++ mkdir -p ~/.config/hatari/ ++ cd ~/.config/hatari/ ++ hatari --saveconfig ++) ++ + path=${0%/*} + name=${0##*/} + |