aboutsummaryrefslogtreecommitdiff
path: root/audio/freepats/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2019-12-01 13:13:06 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 17:06:23 +0700
commit5cb320cfa56fd9aa221d2f5d4fef997a562ac949 (patch)
tree70c162f172d9eff5e17382fa1a9c4923960b9479 /audio/freepats/doinst.sh
parentd72c919da156143743fb28e2d36e7b6b1cb4ef94 (diff)
audio/freepats: Update doinst.sh.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio/freepats/doinst.sh')
-rw-r--r--audio/freepats/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/freepats/doinst.sh b/audio/freepats/doinst.sh
index 7b849829bceb..160c80f01250 100644
--- a/audio/freepats/doinst.sh
+++ b/audio/freepats/doinst.sh
@@ -13,3 +13,7 @@ config() {
config etc/timidity/crude.cfg.new
config etc/timidity/freepats.cfg.new
+# if there's no existing timidity.cfg, freepats takes over.
+if [ ! -r etc/timidity/timidity.cfg ]; then
+ ( cd etc/timidity ; ln -sf crude.cfg timidity.cfg )
+fi