diff options
author | Andrea De Pasquale <andrea@de-pasquale.name> | 2011-11-06 13:13:38 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-11-26 09:08:06 -0600 |
commit | e2fccbd2cc544680ecc6eafc0944eab31e8f29a3 (patch) | |
tree | db7f3c1e43758ef0f1374684509d421b0e661ad3 /multimedia/vlc/doinst.sh | |
parent | 60301cdf09058f5e0e143c41a4b9cf030394747f (diff) | |
download | slackbuilds-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.sh | 17 |
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 |