summaryrefslogtreecommitdiff
path: root/multimedia/subtitleeditor/doinst.sh
diff options
context:
space:
mode:
authorGeorgy Shepelev <geo.shepelev@gmail.com>2010-12-10 15:02:05 -0200
committerRobby Workman <rworkman@slackbuilds.org>2010-12-12 15:47:14 -0600
commit129630bb894f4ecc8dccf1ee117259b5cd8876e9 (patch)
tree019ea6cecdc30e7d115e278d507b8dacab884890 /multimedia/subtitleeditor/doinst.sh
parent7e67df7fb6269c75519326018762c59ded8879f8 (diff)
downloadslackbuilds-129630bb894f4ecc8dccf1ee117259b5cd8876e9.tar.gz
multimedia/subtitleeditor: Added (GTK+2 tool to edit subtitles)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'multimedia/subtitleeditor/doinst.sh')
-rw-r--r--multimedia/subtitleeditor/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/multimedia/subtitleeditor/doinst.sh b/multimedia/subtitleeditor/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/multimedia/subtitleeditor/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
+