summaryrefslogtreecommitdiff
path: root/misc/nvclock/doinst.sh
diff options
context:
space:
mode:
authorM.Dinslage <daedra@charter.net>2010-05-13 00:59:28 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:59:28 +0200
commitfd43ae99e22a223602e5fa8e9932f005900fe965 (patch)
treeee8cbfe38660726da7afb239e8eaf9fa7b787c02 /misc/nvclock/doinst.sh
parent771aacb37dc03e2ea87f64c157e179934b0c595a (diff)
downloadslackbuilds-fd43ae99e22a223602e5fa8e9932f005900fe965.tar.gz
misc/nvclock: Added to 13.0 repository
Diffstat (limited to 'misc/nvclock/doinst.sh')
-rw-r--r--misc/nvclock/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/nvclock/doinst.sh b/misc/nvclock/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/misc/nvclock/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
+