From 9206039086b841fa5ac8fcca301d63ac691f5339 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 25 Jun 2021 20:34:07 +0200 Subject: Fix bugs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- filesystem/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'filesystem') 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: -- cgit v1.2.3-70-g09d2