aboutsummaryrefslogtreecommitdiffstats
path: root/filesystem/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-06-27 18:36:03 +0200
committerMattias Andrée <maandree@kth.se>2021-06-27 18:36:03 +0200
commitf13e96bf4d5dbd836e7b634c3bbbb26df317a92c (patch)
treec8278198e4c00284b1f88bf9fd3565b909885f23 /filesystem/Makefile
parentAdd dconf entires (diff)
downloaddotfiles-f13e96bf4d5dbd836e7b634c3bbbb26df317a92c.tar.gz
dotfiles-f13e96bf4d5dbd836e7b634c3bbbb26df317a92c.tar.bz2
dotfiles-f13e96bf4d5dbd836e7b634c3bbbb26df317a92c.tar.xz
Fix filesystem/Makefile
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'filesystem/Makefile')
-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