diff options
author | Matteo Bernardini | 2020-12-26 14:05:22 +0100 |
---|---|---|
committer | Matteo Bernardini | 2020-12-26 14:05:22 +0100 |
commit | 4fe1e3ae7d3e7066ef74b1f9589738a8ae73b3de (patch) | |
tree | 77cccb09589e89c1a2485590a552f5b81f36d103 /desktop/picom/doinst.sh | |
parent | 4d66205399fa44cd8fd2449e27cf79ebf9fa7bb8 (diff) | |
download | slackbuilds-current-20201226.1.tar.gz |
20201226.1 global branch merge.current-20201226.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 |