diff options
author | Felipe Bugno <capent@yahoo.com> | 2017-12-25 20:11:28 +0000 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2017-12-27 18:11:23 -0600 |
commit | 904df89babbd13d733c8712d4a0db77433fa85e0 (patch) | |
tree | 4f058e71bb1651336e5900e24fbdff35c526bbf6 /desktop/nitrokey-app/doinst.sh | |
parent | 888678a249f4cb5ba1551b0c3bbc782d9e06d83b (diff) |
desktop/nitrokey-app: Added (Nitrokey security token application).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/nitrokey-app/doinst.sh')
-rw-r--r-- | desktop/nitrokey-app/doinst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/nitrokey-app/doinst.sh b/desktop/nitrokey-app/doinst.sh new file mode 100644 index 0000000000000..65c7e2eeb9aa5 --- /dev/null +++ b/desktop/nitrokey-app/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 -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi |