mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-19 12:06:25 +00:00
fix(posix): ensure PATH.env exists before checking contents
This commit is contained in:
@@ -258,6 +258,8 @@ __bootstrap_webi() {
|
||||
)"
|
||||
|
||||
my_export="export PATH=\"$my_path_export:\$PATH\""
|
||||
|
||||
touch -a ~/.config/envman/PATH.env
|
||||
if grep -q -F "${my_export}" ~/.config/envman/PATH.env; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user