summaryrefslogtreecommitdiff
path: root/multimedia/vlc/doinst.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vlc/doinst.sh.in')
-rw-r--r--multimedia/vlc/doinst.sh.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/multimedia/vlc/doinst.sh.in b/multimedia/vlc/doinst.sh.in
index f62bb1cf80..2678be9797 100644
--- a/multimedia/vlc/doinst.sh.in
+++ b/multimedia/vlc/doinst.sh.in
@@ -12,6 +12,5 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
fi
fi
-if [ ! -e usr/lib%LIBDIRSUFFIX%/vlc/plugins*.dat ] ; then
- usr/lib%LIBDIRSUFFIX%/vlc/vlc-cache-gen -f usr/lib%LIBDIRSUFFIX%/vlc
-fi
+rm -f usr/lib%LIBDIRSUFFIX%/vlc/plugins*.dat
+usr/lib%LIBDIRSUFFIX%/vlc/vlc-cache-gen usr/lib%LIBDIRSUFFIX%/vlc