summaryrefslogtreecommitdiff
path: root/audio/freepats
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
parentd72c919da156143743fb28e2d36e7b6b1cb4ef94 (diff)
downloadslackbuilds-5cb320cfa56fd9aa221d2f5d4fef997a562ac949.tar.gz
audio/freepats: Update doinst.sh.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio/freepats')
-rw-r--r--audio/freepats/doinst.sh4
-rw-r--r--audio/freepats/freepats.SlackBuild2
2 files changed, 5 insertions, 1 deletions
diff --git a/audio/freepats/doinst.sh b/audio/freepats/doinst.sh
index 7b849829bc..160c80f012 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
diff --git a/audio/freepats/freepats.SlackBuild b/audio/freepats/freepats.SlackBuild
index a1fa1d4e94..bad09e9ba9 100644
--- a/audio/freepats/freepats.SlackBuild
+++ b/audio/freepats/freepats.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=freepats
VERSION=${VERSION:-20060219}
ARCH=noarch
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)