summaryrefslogtreecommitdiffstats
path: root/desktop/stoken/doinst.sh
diff options
context:
space:
mode:
author Marcel Saegebarth <marc@mos6581.de>2015-03-27 20:55:58 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-28 02:22:16 +0700
commita56cd08c519def1215c8538b264a9dbf617a7ed8 (patch)
tree70edcc6268d8eedfb35f03268a82e6d6fa4e8a2e /desktop/stoken/doinst.sh
parent3a3aa3ca24c4a2e1562a115278918b1de0e814fd (diff)
downloadslackbuilds-a56cd08c519def1215c8538b264a9dbf617a7ed8.tar.gz
slackbuilds-a56cd08c519def1215c8538b264a9dbf617a7ed8.tar.xz
desktop/stoken: Added (RSA tokencode generator).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/stoken/doinst.sh')
-rw-r--r--desktop/stoken/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/stoken/doinst.sh b/desktop/stoken/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/desktop/stoken/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