diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2015-05-30 09:11:03 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-31 10:36:26 +0700 |
commit | 38538a171398f9f3f19b9421d139227f6a47f6ca (patch) | |
tree | b4d87b3deae2e6a7cfbffa9494719cff7fe591fd /desktop/siva-flat-themes/doinst.sh | |
parent | 51259d4b558de73441dfea6d5a636cac7fdc883b (diff) |
desktop/siva-flat-themes: Added (GTK2|GTK3 themes).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/siva-flat-themes/doinst.sh')
-rw-r--r-- | desktop/siva-flat-themes/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/siva-flat-themes/doinst.sh b/desktop/siva-flat-themes/doinst.sh new file mode 100644 index 0000000000000..9424ce43ff572 --- /dev/null +++ b/desktop/siva-flat-themes/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 |