diff options
author | B. Watson <urchlay@slackware.uk> | 2023-06-20 17:15:29 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-06-23 07:48:08 +0700 |
commit | 14ec0b77e0828f6dbb0c90421f0b6fe0b1d25aee (patch) | |
tree | 5adf0bd8f2e55ba127930f472e412f090fd728f3 /network | |
parent | 51e461cbbd5c1f5893af658e778cca6e5f1ef086 (diff) |
network/eiskaltdcpp: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/eiskaltdcpp/doinst.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/network/eiskaltdcpp/doinst.sh b/network/eiskaltdcpp/doinst.sh index 6b75f2eda046f..0e9b18910ab68 100644 --- a/network/eiskaltdcpp/doinst.sh +++ b/network/eiskaltdcpp/doinst.sh @@ -2,7 +2,8 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database &> /dev/null fi -if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -f -q /usr/share/icons/hicolor &> /dev/null +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 - |