diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-01-31 09:03:06 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2014-02-01 00:40:33 -0600 |
commit | 459c09f5f6ecd5c137612e0c7387e10a3a9868b5 (patch) | |
tree | 270a226aedcc3ac5e861ba1abaf851efbb0d8716 /desktop/xfce4-fsguard-plugin/doinst.sh | |
parent | 22892caf3fc5ba932acf20363524f5afcd4b7364 (diff) | |
download | slackbuilds-459c09f5f6ecd5c137612e0c7387e10a3a9868b5.tar.gz |
desktop/xfce4-fsguard-plugin: Added (Checks free space).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/xfce4-fsguard-plugin/doinst.sh')
-rw-r--r-- | desktop/xfce4-fsguard-plugin/doinst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/xfce4-fsguard-plugin/doinst.sh b/desktop/xfce4-fsguard-plugin/doinst.sh new file mode 100644 index 0000000000..3e5691a052 --- /dev/null +++ b/desktop/xfce4-fsguard-plugin/doinst.sh @@ -0,0 +1,9 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +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 |