diff options
author | Christoph Willing | 2021-04-10 08:54:43 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2021-04-10 12:04:43 +0200 |
commit | 24b457bbd5cdcb803d844815869d47267a93907f (patch) | |
tree | 5d1c9a18193489b0851f9d50e316262682613f83 /development/xkeys-sdk/doinst.sh | |
parent | 375f4610c19543281643443207c438eb38ae9fb6 (diff) | |
download | slackbuilds-24b457bbd5cdcb803d844815869d47267a93907f.tar.gz |
development/xkeys-sdk: Added (SDK for X-Keys)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/xkeys-sdk/doinst.sh')
-rw-r--r-- | development/xkeys-sdk/doinst.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/development/xkeys-sdk/doinst.sh b/development/xkeys-sdk/doinst.sh new file mode 100644 index 0000000000..0fa754f75e --- /dev/null +++ b/development/xkeys-sdk/doinst.sh @@ -0,0 +1,11 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +# If other icon themes are installed, then add to/modify this as needed +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 + |