summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-06-19 17:46:33 +0200
committerErik Hanson <erik@slackbuilds.org>2010-06-20 15:19:09 -0500
commiteeb98644519804453971c097fe9cf7a92848e577 (patch)
treee43bc9d153297fe3236aaa68991084a97eabd98d /multimedia
parent59e0bcf46fea212a40f3e06cd51c6859e1119800 (diff)
downloadslackbuilds-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')
-rw-r--r--multimedia/tovid/doinst.sh10
-rw-r--r--multimedia/tovid/tovid.SlackBuild3
2 files changed, 12 insertions, 1 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
+
diff --git a/multimedia/tovid/tovid.SlackBuild b/multimedia/tovid/tovid.SlackBuild
index 05246302e0..4d7363240b 100644
--- a/multimedia/tovid/tovid.SlackBuild
+++ b/multimedia/tovid/tovid.SlackBuild
@@ -17,7 +17,7 @@
PRGNAM=tovid
VERSION=0.31
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -86,6 +86,7 @@ cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README SENSE \
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}