diff options
author | G Edward Whiteside <gedwardwhiteside@gmail.com> | 2010-05-13 00:22:55 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:22:55 +0200 |
commit | b2bee810682c0813bccaa56d37a86ada61e2f0a4 (patch) | |
tree | b397f1b5ce1d96c174d7697a810228ce0aba79ab /desktop/nitrogen/doinst.sh | |
parent | 9e09f26d6d449c516424c5079b5bbb58e46fe47e (diff) | |
download | slackbuilds-b2bee810682c0813bccaa56d37a86ada61e2f0a4.tar.gz |
desktop/nitrogen: Updated for version 1.4
Diffstat (limited to 'desktop/nitrogen/doinst.sh')
-rw-r--r-- | desktop/nitrogen/doinst.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/desktop/nitrogen/doinst.sh b/desktop/nitrogen/doinst.sh index c3651bc867..30eb690936 100644 --- a/desktop/nitrogen/doinst.sh +++ b/desktop/nitrogen/doinst.sh @@ -1,5 +1,6 @@ - -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1 +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 + fi fi |