mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-03 05:37:19 +02:00
Merge pull request #387 from starbr3aker/waEnsureOnPathFix
waEnsureOnPathFix
This commit is contained in:
commit
6e0da93a4a
2
setup.sh
2
setup.sh
@ -1653,7 +1653,7 @@ function waInstall() {
|
||||
# Name: 'waEnsureOnPath'
|
||||
# Role: Ensures that $BIN_PATH is on $PATH.
|
||||
function waEnsureOnPath() {
|
||||
if [[ ":$PATH:" == *":$BIN_PATH:"* ]]; then
|
||||
if [[ ":$PATH:" != *":$BIN_PATH:"* ]]; then
|
||||
echo -e "${WARNING_TEXT}[WARNING]${CLEAR_TEXT} It seems like '${BIN_PATH}' is not on PATH."
|
||||
echo -e "${WARNING_TEXT}[WARNING]${CLEAR_TEXT} You can add it by running:"
|
||||
# shellcheck disable=SC2086
|
||||
|
Loading…
x
Reference in New Issue
Block a user