aboutsummaryrefslogtreecommitdiffstats
path: root/filesystem
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-06-25 20:34:07 +0200
committerMattias Andrée <maandree@kth.se>2021-06-25 20:34:07 +0200
commit9206039086b841fa5ac8fcca301d63ac691f5339 (patch)
treed55a7e1e0bec897237988f8b41b58185730d8b30 /filesystem
parentCreate ~/.var/opt and move ~/.var/{element,signal,wire} into ~/.var/opt (diff)
downloaddotfiles-9206039086b841fa5ac8fcca301d63ac691f5339.tar.gz
dotfiles-9206039086b841fa5ac8fcca301d63ac691f5339.tar.bz2
dotfiles-9206039086b841fa5ac8fcca301d63ac691f5339.tar.xz
Fix bugs
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'filesystem')
-rw-r--r--filesystem/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/filesystem/Makefile b/filesystem/Makefile
index a074dc3..1fb2bff 100644
--- a/filesystem/Makefile
+++ b/filesystem/Makefile
@@ -69,10 +69,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 > /dev/null || 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 > /dev/null || printf '%s\n' "cryptokey.gpg" >> ~/.hidden; \
fi
uninstall: