summaryrefslogtreecommitdiff
path: root/audio/tap_plugins/reverbed.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2011-08-09 15:24:32 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-09 15:24:32 -0300
commitd2dd7e84f591d429b3a897b558f7c027d36f7e8a (patch)
tree4427736b81d6803111e811648226f31826fdf36a /audio/tap_plugins/reverbed.sh
parentb8bedd097ac5cd882f7241cabfc3069ae8e0f768 (diff)
downloadslackbuilds-d2dd7e84f591d429b3a897b558f7c027d36f7e8a.tar.gz
audio/tap_plugins: Added (audio plugins for LADSPA)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'audio/tap_plugins/reverbed.sh')
-rw-r--r--audio/tap_plugins/reverbed.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/tap_plugins/reverbed.sh b/audio/tap_plugins/reverbed.sh
new file mode 100644
index 0000000000..b1cb7c2cfe
--- /dev/null
+++ b/audio/tap_plugins/reverbed.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# Wrapper script for reverbed. When reverbed is run, it requires its
+# config file to already be present in the user's home directory. If not,
+# it'll exit, printing a message on the terminal... but if the user launched
+# it via an icon from a desktop environment, he won't see the error (it will
+# appear to silently fail to run). To avoid confusion, this script creates
+# the config file if & only if it doesn't already exist.
+
+if [ ! -e ~/.reverbed ]; then
+ cat /usr/doc/tap_plugins-@VERSION@/dot.reverbed.default > ~/.reverbed
+fi
+
+exec /usr/bin/reverbed.bin