diff --git a/Makefile b/Makefile index 26e4b34..df58510 100644 --- a/Makefile +++ b/Makefile @@ -82,9 +82,9 @@ uninstall: @$(RM) "/usr/share/applications/${pkgname}.desktop" @$(RM) "/usr/share/polkit-1/actions/ru.ublinux.pkexec.${pkgname}.exec.policy" @$(RM) -rd "/usr/share/${pkgname}" - @gtk-update-icon-cache -fiq /usr/share/icons/hicolor/ &>/dev/null - @update-desktop-database --quiet 2>/dev/null - @touch /usr/share/applications + @gtk-update-icon-cache -fiq /usr/share/icons/hicolor/ &>/dev/null || true + @update-desktop-database --quiet &>/dev/null || true + @touch /usr/share/applications &>/dev/null || true @echo "Uninstall: OK" install: check uninstall