summaryrefslogtreecommitdiff
path: root/multimedia/vlc/doinst.sh
diff options
context:
space:
mode:
authorAndrea De Pasquale <andrea@de-pasquale.name>2011-11-06 13:13:38 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-11-26 09:08:06 -0600
commite2fccbd2cc544680ecc6eafc0944eab31e8f29a3 (patch)
treedb7f3c1e43758ef0f1374684509d421b0e661ad3 /multimedia/vlc/doinst.sh
parent60301cdf09058f5e0e143c41a4b9cf030394747f (diff)
downloadslackbuilds-e2fccbd2cc544680ecc6eafc0944eab31e8f29a3.tar.gz
multimedia/vlc: Added (VLC media player)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'multimedia/vlc/doinst.sh')
-rw-r--r--multimedia/vlc/doinst.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/multimedia/vlc/doinst.sh b/multimedia/vlc/doinst.sh
new file mode 100644
index 0000000000..03a4d01e28
--- /dev/null
+++ b/multimedia/vlc/doinst.sh
@@ -0,0 +1,17 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+if [ ! -e usr/lib%LIBDIRSUFFIX%/vlc/plugins*.dat ] ; then
+ /usr/lib%LIBDIRSUFFIX%/vlc/vlc-cache-gen -f usr/lib%LIBDIRSUFFIX%/vlc
+fi