diff options
Diffstat (limited to 'audio/eawpats/doinst.sh')
-rw-r--r-- | audio/eawpats/doinst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/audio/eawpats/doinst.sh b/audio/eawpats/doinst.sh index 110f77527d..674945c896 100644 --- a/audio/eawpats/doinst.sh +++ b/audio/eawpats/doinst.sh @@ -13,3 +13,12 @@ config() { config etc/timidity/eawpats.cfg.new +# if there's no existing timidity.cfg, eawpats takes over. +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 |