slackbuilds_ponce/multimedia/vlc/doinst.sh.in
Matteo Bernardini e15e3c2612 multimedia/vlc: Updated for version 20170406_8268fe0.
We need a git snapshot for the newer ffmpeg.
Noted some other gotchas in the README

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2017-04-15 07:18:16 +07:00

16 lines
544 B
Bash

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
rm -f usr/lib%LIBDIRSUFFIX%/vlc/plugins*.dat
usr/lib%LIBDIRSUFFIX%/vlc/vlc-cache-gen usr/lib%LIBDIRSUFFIX%/vlc