diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2015-11-25 15:37:36 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-11-28 07:25:59 +0700 |
commit | 31083fbe94691a56e84da8de748368608a2983bc (patch) | |
tree | 8efe5f23b07242e11b08168c60b8ebbb4433fd37 /desktop/numix-icon-theme-circle/doinst.sh | |
parent | df2092e1bdcd1cf0e9b4230f19effbdc75dbd662 (diff) |
desktop/numix-icon-theme-circle: Added (icon theme).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/numix-icon-theme-circle/doinst.sh')
-rw-r--r-- | desktop/numix-icon-theme-circle/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/numix-icon-theme-circle/doinst.sh b/desktop/numix-icon-theme-circle/doinst.sh new file mode 100644 index 0000000000000..9424ce43ff572 --- /dev/null +++ b/desktop/numix-icon-theme-circle/doinst.sh @@ -0,0 +1,13 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +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 [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi |