diff options
author | B. Watson <urchlay@slackware.uk> | 2023-01-11 01:02:11 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-14 08:50:29 +0700 |
commit | 8302ca169bb9180188a031c34a045d552d725fa1 (patch) | |
tree | 88dc4e6830b3acd5000928b32c78373bb55ec4d3 /audio/eawpats/doinst.sh | |
parent | b58dcbfad1d69f7bc268edbfc735714541e205d6 (diff) |
audio/eawpats: Handle .cfg symlinks better.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/eawpats/doinst.sh')
-rw-r--r-- | audio/eawpats/doinst.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/eawpats/doinst.sh b/audio/eawpats/doinst.sh index 0a9be04c3997a..674945c896caa 100644 --- a/audio/eawpats/doinst.sh +++ b/audio/eawpats/doinst.sh @@ -17,3 +17,8 @@ config etc/timidity/eawpats.cfg.new if [ ! -r etc/timidity/timidity.cfg ]; then ( cd etc/timidity ; ln -sf eawpats.cfg timidity.cfg ) fi + +# SDL 1.2's SDL_mixer still uses the obsolete location for timidity.cfg: +if [ ! -r etc/timidity.cfg ]; then + ( cd etc ; ln -sf timidity/eawpats.cfg timidity.cfg ) +fi |