From: AJ ONeal Date: Thu, 18 Jun 2020 06:58:09 +0000 (+0000) Subject: bugfix: make grep not fail X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=7e925a988d5780f6872e5914e29b50e087319502;p=webi-installers%2F.git bugfix: make grep not fail --- 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