summaryrefslogtreecommitdiff
path: root/desktop/glabels/doinst.sh
diff options
context:
space:
mode:
authorAlan Alberghini <414N@slacky.it>2016-08-19 18:49:35 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-20 07:49:48 +0700
commit55770c29faa35777ddd9d7206c27f042ed278c01 (patch)
tree7ce567f54adde5ec2b9fb8e1e726b8d8043b3515 /desktop/glabels/doinst.sh
parenta436c466b3dbe6879512aa8dcaa9793e9227e698 (diff)
downloadslackbuilds-55770c29faa35777ddd9d7206c27f042ed278c01.tar.gz
desktop/glabels: Added (Label Designer).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/glabels/doinst.sh')
-rw-r--r--desktop/glabels/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/glabels/doinst.sh b/desktop/glabels/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/desktop/glabels/doinst.sh
@@ -0,0 +1,13 @@
+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