diff options
author | Matteo Bernardini | 2020-05-03 10:26:34 +0200 |
---|---|---|
committer | Matteo Bernardini | 2020-05-03 10:26:34 +0200 |
commit | 48259ed40770acaca280ee12a8434410f58aff30 (patch) | |
tree | f1ed654e2693aa523ece7d3bb3cadf0fe9089d66 /desktop/picom/doinst.sh | |
parent | a5a09aea950fef7569ac816b34a99b71830760d4 (diff) | |
download | slackbuilds-7e8307e8198347fd94d48a537fd282da224df075.tar.gz |
20200503.1 global branch merge.current-20200503.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 |