diff options
author | B. Watson <urchlay@slackware.uk> | 2023-06-17 16:43:42 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-06-23 07:48:04 +0700 |
commit | 0357aff5fda63ed98eebb52cf1af77d79b5f0613 (patch) | |
tree | a8d819de9c7d307abdd73927fd63bfdbd4e6196b /desktop/ccsm | |
parent | e6a2ca0d88521df2fb61c104e9c6d202ad82aa76 (diff) |
desktop/ccsm: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/ccsm')
-rw-r--r-- | desktop/ccsm/doinst.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/ccsm/doinst.sh b/desktop/ccsm/doinst.sh index a61bc59590f18..2786723850a65 100644 --- a/desktop/ccsm/doinst.sh +++ b/desktop/ccsm/doinst.sh @@ -1,5 +1,7 @@ -if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -f -t usr/share/icons/hicolor >/dev/null 2>&1 +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 if [ -x /usr/bin/update-desktop-database ]; then |