From 49cc824b72fbdc8c69b938e7c414b4f7a2341c81 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sun, 8 Jan 2017 22:49:20 -0600 Subject: doinst.sh: Add "-f" to icon theme update and note other themes Thanks to Alexander Verbovetsky for the suggestion about "gtk-update-icon-cache -f" to be consistent with what's done in rc.M on boot: https://lists.slackbuilds.org/pipermail/slackbuilds-users/2017-January/017875.html --- doinst.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doinst.sh b/doinst.sh index 1b6458d..1cdfb9e 100644 --- a/doinst.sh +++ b/doinst.sh @@ -42,9 +42,10 @@ if [ -x /usr/bin/update-mime-database ]; then /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 fi +# If other icon themes are installed, then add to/modify this as needed 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 + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 fi fi -- cgit v1.2.3