diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-06-19 17:46:33 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-06-20 15:19:09 -0500 |
commit | eeb98644519804453971c097fe9cf7a92848e577 (patch) | |
tree | e43bc9d153297fe3236aaa68991084a97eabd98d /multimedia/tovid/doinst.sh | |
parent | 59e0bcf46fea212a40f3e06cd51c6859e1119800 (diff) | |
download | slackbuilds-eeb98644519804453971c097fe9cf7a92848e577.tar.gz |
multimedia/tovid: Added doinst.sh to update icon and desktop caches
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'multimedia/tovid/doinst.sh')
-rw-r--r-- | multimedia/tovid/doinst.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/multimedia/tovid/doinst.sh b/multimedia/tovid/doinst.sh new file mode 100644 index 0000000000..1f8ff67ded --- /dev/null +++ b/multimedia/tovid/doinst.sh @@ -0,0 +1,10 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/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 + |