summaryrefslogtreecommitdiffstats
path: root/audio/asap/douninst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'audio/asap/douninst.sh')
-rw-r--r--audio/asap/douninst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/audio/asap/douninst.sh b/audio/asap/douninst.sh
new file mode 100644
index 0000000000..723f27ffb8
--- /dev/null
+++ b/audio/asap/douninst.sh
@@ -0,0 +1,10 @@
+# we're (possibly) removing a VLC plugin, avoid "error: stale plugins
+# cache" when running vlc.
+
+if [ -x ./usr/lib64/vlc/vlc-cache-gen ]; then
+ ./usr/lib64/vlc/vlc-cache-gen ./usr/lib64/vlc/
+fi
+
+if [ -x ./usr/lib/vlc/vlc-cache-gen ]; then
+ ./usr/lib/vlc/vlc-cache-gen ./usr/lib/vlc/
+fi