diff options
Diffstat (limited to 'system/p7zip/doinst.sh')
-rw-r--r-- | system/p7zip/doinst.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/system/p7zip/doinst.sh b/system/p7zip/doinst.sh index f72fb66224905..30eb690936b52 100644 --- a/system/p7zip/doinst.sh +++ b/system/p7zip/doinst.sh @@ -1,4 +1,6 @@ -if [ -x /usr/bin/gtk-update-icon-cache ]; then - ./usr/bin/gtk-update-icon-cache 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 usr/share/icons/hicolor >/dev/null 2>&1 + fi fi |