diff options
Diffstat (limited to 'audio/mhwaveedit/doinst.sh')
-rw-r--r-- | audio/mhwaveedit/doinst.sh | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/audio/mhwaveedit/doinst.sh b/audio/mhwaveedit/doinst.sh index 98d466d8b9..1f8ff67ded 100644 --- a/audio/mhwaveedit/doinst.sh +++ b/audio/mhwaveedit/doinst.sh @@ -1,3 +1,10 @@ -if [ -x usr/bin/update-desktop-database ]; then - ./usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1 +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 usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + |