diff options
author | Thomas Szteliga <ts@websafe.pl> | 2016-10-20 21:04:11 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-10-20 21:04:11 +0700 |
commit | 1183627c8b15fd54187760c26c592f06a891e8de (patch) | |
tree | ddca8602bebb53a9e91c9fe57d877bad35c5ac97 /system/veracrypt/doinst.sh | |
parent | 51262fd7287132cda4e55df300a674413f332ddb (diff) |
system/veracrypt: Updated for version 1.19.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/veracrypt/doinst.sh')
-rw-r--r-- | system/veracrypt/doinst.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/system/veracrypt/doinst.sh b/system/veracrypt/doinst.sh index 5fb28930db0b..5934a15ab1ef 100644 --- a/system/veracrypt/doinst.sh +++ b/system/veracrypt/doinst.sh @@ -1,3 +1,9 @@ if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 + /usr/bin/update-desktop-database -q usr/share/applications +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 |