From 7e925a988d5780f6872e5914e29b50e087319502 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 18 Jun 2020 06:58:09 +0000 Subject: [PATCH] bugfix: make grep not fail --- _webi/template.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_webi/template.sh b/_webi/template.sh index 3750dd0..6c16654 100644 --- a/_webi/template.sh +++ b/_webi/template.sh @@ -205,7 +205,7 @@ webi_path_add() { # in case pathman was recently installed and the PATH not updated mkdir -p "$_webi_tmp" - "$HOME/.local/bin/pathman" add "$1" | grep "export" >> "$_webi_tmp/.PATH.env" + "$HOME/.local/bin/pathman" add "$1" | grep "export" >> "$_webi_tmp/.PATH.env" || true } # group common pre-install tasks as default -- 2.25.1