aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filesystem/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/filesystem/Makefile b/filesystem/Makefile
index 1fb2bff..c726699 100644
--- a/filesystem/Makefile
+++ b/filesystem/Makefile
@@ -30,10 +30,10 @@ install:
mkdir -p -- ~/.var/spool
rm -f -- ~/.spool
rm -f -- ~/.local/var
- ln -sf .var/spool/ ~/.spool
+ ln -sf .var/spool ~/.spool
mkdir -p -- ~/.local/bin
mkdir -p -- ~/.local/src
- ln -sf ../.var ~/.local/var
+ ln -sf -- ../.var ~/.local/var
if test -d ~/.fonts && test ! -L ~/.fonts; then \
mkdir -p -- ~/.local/share && \
test ! -e ~/.local/share/fonts && \
@@ -76,14 +76,15 @@ install:
fi
uninstall:
- -unlink -- ../.cache ~/.config/.cache
- -unlink -- .var/cache ~/.cache
- -unlink -- .cache/.thumbnails ~/.thumbnails
- -unlink -- .var/spool/ ~/.spool
- -unlink -- ../.var ~/.local/var
- -unlink -- .local/share/fonts ~/.fonts
- -unlink -- .local/share/icons ~/.icons
- -unlink -- .local/share/themes ~/.themes
+ -unlink -- ~/.config/user-dirs.dirs
+ -unlink -- ~/.config/.cache
+ -unlink -- ~/.cache
+ -unlink -- ~/.thumbnails
+ -unlink -- ~/.spool
+ -unlink -- ~/.local/var
+ -unlink -- ~/.fonts
+ -unlink -- ~/.icons
+ -unlink -- ~/.themes
-rmdir -- ~/.config
-rmdir -- ~/.var/cache/.thumbnails
-rmdir -- ~/.var/cache