summaryrefslogtreecommitdiffstats
path: root/desktop/picom/doinst.sh
diff options
context:
space:
mode:
author Matteo Bernardini2021-04-07 19:43:09 +0200
committer Matteo Bernardini2021-04-07 19:43:09 +0200
commitfc3c9447da6cded0b6741cf3e6c2386c16493440 (patch)
tree4e2d3e3a7ba5c8cb879728d8e965da94d1fd4850 /desktop/picom/doinst.sh
parenta6bf666d73b4dccae0636e4ca04113d5953b956c (diff)
downloadslackbuilds-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.sh9
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