diff options
author | Matteo Bernardini | 2021-04-07 19:43:09 +0200 |
---|---|---|
committer | Matteo Bernardini | 2021-04-07 19:43:09 +0200 |
commit | fc3c9447da6cded0b6741cf3e6c2386c16493440 (patch) | |
tree | 4e2d3e3a7ba5c8cb879728d8e965da94d1fd4850 /desktop/picom/doinst.sh | |
parent | a6bf666d73b4dccae0636e4ca04113d5953b956c (diff) | |
download | slackbuilds-fc3c9447da6cded0b6741cf3e6c2386c16493440.tar.gz |
20210407.1 global branch merge.current-20210407.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/picom/doinst.sh')
-rw-r--r-- | desktop/picom/doinst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/picom/doinst.sh b/desktop/picom/doinst.sh new file mode 100644 index 0000000000..65c7e2eeb9 --- /dev/null +++ b/desktop/picom/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 -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi |