diff options
Diffstat (limited to 'desktop/redshift/doinst.sh')
-rw-r--r-- | desktop/redshift/doinst.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/redshift/doinst.sh b/desktop/redshift/doinst.sh index 19400050fd705..65c7e2eeb9aa5 100644 --- a/desktop/redshift/doinst.sh +++ b/desktop/redshift/doinst.sh @@ -1,6 +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 - |