diff options
Diffstat (limited to 'office/semantik')
-rw-r--r-- | office/semantik/doinst.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/office/semantik/doinst.sh b/office/semantik/doinst.sh index c820737506191..19ad22754d1fc 100644 --- a/office/semantik/doinst.sh +++ b/office/semantik/doinst.sh @@ -6,11 +6,8 @@ if [ -x /usr/bin/update-mime-database ]; then /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 fi - - -# Update hicolor theme cache: -if [ -d usr/share/icons/hicolor ]; then +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then if [ -x /usr/bin/gtk-update-icon-cache ]; then - chroot . /usr/bin/gtk-update-icon-cache -f -t usr/share/icons/hicolor 1> /dev/null 2> /dev/null + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 fi fi |