diff options
author | Isaac Yu <isaacyu1@isaacyu1.com> | 2022-04-16 09:54:59 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-16 12:12:54 +0700 |
commit | 10005444b90bc0c78a59b207ea62b45e76910017 (patch) | |
tree | de8aa32bba50ed225be854ebcda4f3809f69a7a8 /desktop/Tela-icon-theme/doinst.sh | |
parent | cd257ddc9698182ec44b8bcee88b723c5183daca (diff) | |
download | slackbuilds-10005444b90bc0c78a59b207ea62b45e76910017.tar.gz slackbuilds-10005444b90bc0c78a59b207ea62b45e76910017.tar.xz |
desktop/Tela-icon-theme: Added (flat icon theme).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/Tela-icon-theme/doinst.sh')
-rw-r--r-- | desktop/Tela-icon-theme/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/Tela-icon-theme/doinst.sh b/desktop/Tela-icon-theme/doinst.sh new file mode 100644 index 0000000000..aea0f894eb --- /dev/null +++ b/desktop/Tela-icon-theme/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 -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi |