summaryrefslogtreecommitdiffstats
path: root/network/eiskaltdcpp/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'network/eiskaltdcpp/doinst.sh')
-rw-r--r--network/eiskaltdcpp/doinst.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/network/eiskaltdcpp/doinst.sh b/network/eiskaltdcpp/doinst.sh
index 6b75f2eda0..0e9b18910a 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
-