aboutsummaryrefslogtreecommitdiff
path: root/audio/eawpats/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'audio/eawpats/doinst.sh')
-rw-r--r--audio/eawpats/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/eawpats/doinst.sh b/audio/eawpats/doinst.sh
index 110f77527d84..0a9be04c3997 100644
--- a/audio/eawpats/doinst.sh
+++ b/audio/eawpats/doinst.sh
@@ -13,3 +13,7 @@ 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