summaryrefslogtreecommitdiff
path: root/system/terminology/doinst.sh
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-12-10 09:19:21 +0700
committerErik Hanson <erik@slackbuilds.org>2013-12-14 10:53:02 -0600
commitd89c5db5edf3a89c82abadc7bd1be3dbf894a822 (patch)
tree0253d73257a2a8b060cc07e44eac24962591f971 /system/terminology/doinst.sh
parentd6b09337b06dc0f2e0e4ec39d94209402a99cfa1 (diff)
downloadslackbuilds-d89c5db5edf3a89c82abadc7bd1be3dbf894a822.tar.gz
system/terminology: Added (terminal emulator).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/terminology/doinst.sh')
-rw-r--r--system/terminology/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/terminology/doinst.sh b/system/terminology/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/system/terminology/doinst.sh
@@ -0,0 +1,9 @@
+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