diff options
Diffstat (limited to 'filesystem/Makefile')
-rw-r--r-- | filesystem/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/filesystem/Makefile b/filesystem/Makefile index bc3fd71..456b51c 100644 --- a/filesystem/Makefile +++ b/filesystem/Makefile @@ -30,9 +30,9 @@ install: rm -f -- ~/.spool rm -f -- ~/.local/var ln -sf .var/spool/ ~/.spool - ln -sf ../.var ~/.local/var mkdir -p -- ~/.local/bin mkdir -p -- ~/.local/src + ln -sf ../.var ~/.local/var if test -d ~/.fonts && test ! -L ~/.fonts; then \ mkdir -p -- ~/.local/share && \ test ! -e ~/.local/share/fonts && \ @@ -68,10 +68,10 @@ install: mkdir -p -- ~/.usr/src ln -sf -- ~/.dotfiles/filesystem/user-dirs.dirs ~/.config/ set -e && for f in $(HIDE); do \ - test -e ~/.hidden && grep '^'"$$f"'$' < ~/.hidden || printf '%s\n' "$$f" >> ~/.hidden; \ + test -e ~/.hidden && grep '^'"$$f"'$$' < ~/.hidden || printf '%s\n' "$$f" >> ~/.hidden; \ done if test "$$(hostname | tr '[[:upper:]]' '[[:lower:]]')" = zenith; then \ - test -e ~/.hidden && grep '^cryptokey.gpg$' < ~/.hidden || printf '%s\n' "cryptokey.gpg" >> ~/.hidden; \ + test -e ~/.hidden && grep '^cryptokey.gpg$$' < ~/.hidden || printf '%s\n' "cryptokey.gpg" >> ~/.hidden; \ fi uninstall: @@ -107,7 +107,7 @@ uninstall: -rmdir -- ~/.usr/src -rmdir -- ~/.usr -for f in $(HIDE) cryptokey.gpg; do \ - test ! -e ~/.hidden || grep -v '^'"$$f"'$' < ~/.hidden | sponge ~/.hidden; \ + test ! -e ~/.hidden || grep -v '^'"$$f"'$$' < ~/.hidden | sponge ~/.hidden; \ done .PHONY: install uninstall |