diff options
Diffstat (limited to 'desktop/paper-icon-theme/doinst.sh')
-rw-r--r-- | desktop/paper-icon-theme/doinst.sh | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/desktop/paper-icon-theme/doinst.sh b/desktop/paper-icon-theme/doinst.sh index 9424ce43ff572..f7fa2692de2d5 100644 --- a/desktop/paper-icon-theme/doinst.sh +++ b/desktop/paper-icon-theme/doinst.sh @@ -6,8 +6,15 @@ if [ -x /usr/bin/update-mime-database ]; then /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 fi -if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then +if [ -e usr/share/icons/Paper/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 + /usr/bin/gtk-update-icon-cache usr/share/icons/Paper>/dev/null 2>&1 fi fi + +if [ -e usr/share/icons/Paper-Mono-Dark/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/Paper-Mono-Dark >/dev/null 2>&1 + fi +fi + |