aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2017-01-08 22:49:20 -0600
committerRobby Workman <rworkman@slackware.com>2017-01-08 22:50:33 -0600
commit49cc824b72fbdc8c69b938e7c414b4f7a2341c81 (patch)
tree4f6f8a7485bc4377dfdbcbf714dfcac6ed3bda60
parent7726fc9b8da1f4b62bcdb8262e6a8ec85b7ec4f4 (diff)
doinst.sh: Add "-f" to icon theme update and note other themes
Thanks to Alexander Verbovetsky <alik@ejik.org> 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
-rw-r--r--doinst.sh3
1 files changed, 2 insertions, 1 deletions
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