cleanup mime entry during uninstall

Signed-off-by: Thomas Groman <tgroman@nuegia.net>
This commit is contained in:
Thomas Groman 2021-04-27 22:34:53 -07:00 committed by Felix (xq) Queißner
parent 3a191422ed
commit 9e0f8e1f7a
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
# Install to ~/.local unless otherwise specified, such as `make PREFIX=/app`
PREFIX?=~/.local
PREFIX?=/usr/local
# Man pages by default instaled to /usr/local/share/man, like above this can
# be specified on command line.
@ -65,6 +65,8 @@ install: kristall
uninstall:
# Remove the .desktop
rm -f $(sharedir)/applications/Kristall.desktop
# Remove the mime entry
rm -f $(sharedir)/mime/packages/kristall.xml
# Remove the icons
rm -f $(sharedir)/icons/hicolor/scalable/apps/net.random-projects.kristall.png
rm -f $(sharedir)/icons/hicolor/*x*/apps/net.random-projects.kristall.png