summaryrefslogtreecommitdiffstats
path: root/desktop/picom/doinst.sh
diff options
context:
space:
mode:
author Matteo Bernardini2020-06-20 11:01:26 +0200
committer Matteo Bernardini2020-06-20 11:01:26 +0200
commit4763c5f8092b9a9edb2471bd83ae5d6935056245 (patch)
tree704bea10c1fd69bf1b603c44f81d0d1b4df89019 /desktop/picom/doinst.sh
parent98dec0c0253801e4775e1c705f391e477db1a7e5 (diff)
downloadslackbuilds-current-20200620.1.tar.gz
20200620.1 global branch merge.current-20200620.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