diff options
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 - |