aboutsummaryrefslogtreecommitdiff
path: root/audio/eawpats/douninst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'audio/eawpats/douninst.sh')
-rw-r--r--audio/eawpats/douninst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/audio/eawpats/douninst.sh b/audio/eawpats/douninst.sh
new file mode 100644
index 000000000000..b5df94f31ca8
--- /dev/null
+++ b/audio/eawpats/douninst.sh
@@ -0,0 +1,9 @@
+# remove symlinks, if they belong to us.
+
+[ -e etc/timidity.cfg ] && \
+ [ "$( readlink etc/timidity.cfg )" == "timidity/eawpats.cfg" ] && \
+ rm -f etc/timidity.cfg
+
+[ -e etc/timidity/timidity.cfg ] && \
+ [ "$( readlink etc/timidity/timidity.cfg )" == "eawpats.cfg" ] && \
+ rm -f etc/timidity/timidity.cfg