summaryrefslogtreecommitdiff
path: root/misc/yubikey-personalization-gui/doinst.sh
diff options
context:
space:
mode:
authorT3slider <t3slider@gmail.com>2014-08-03 12:48:31 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-03 12:48:31 +0700
commit6322d81f3c3b0b6d276c599c38b5704ccb4945f7 (patch)
tree7b295ce262b29f46eb473054781d419f520a1df1 /misc/yubikey-personalization-gui/doinst.sh
parent0a9b14efc00d14d48720bb3a4238b3a475e49858 (diff)
downloadslackbuilds-6322d81f3c3b0b6d276c599c38b5704ccb4945f7.tar.gz
misc/yubikey-personalization-gui: Added (GUI tool for YubiKey).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/yubikey-personalization-gui/doinst.sh')
-rw-r--r--misc/yubikey-personalization-gui/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/misc/yubikey-personalization-gui/doinst.sh b/misc/yubikey-personalization-gui/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/misc/yubikey-personalization-gui/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