aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Groman <tgroman@nuegia.net>2021-04-27 22:34:53 -0700
committerFelix (xq) Queißner <git@mq32.de>2021-05-08 10:56:05 +0200
commit9e0f8e1f7a551019587ac8c64a96214da3edb45b (patch)
tree163e8b1544fab6bd559ad0b92dde90bf30b268b2
parent3a191422ed76c56162ee0e864521b242a22a8c0d (diff)
cleanup mime entry during uninstall
Signed-off-by: Thomas Groman <tgroman@nuegia.net>
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 923cadb..8e38b75 100644
--- a/Makefile
+++ b/Makefile
@@ -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