Fix incorrect installation conditions
This commit is contained in:
parent
5055eddb82
commit
90bd9d0e4f
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ if ! isTruthy "${SKIP_POWERSHELL}"
|
||||||
then
|
then
|
||||||
profileFile="$(pwsh -c '$PROFILE')";
|
profileFile="$(pwsh -c '$PROFILE')";
|
||||||
|
|
||||||
if [ ! -f "$profileFile" ] || grep "\baliae\b" "$profileFile" > /dev/null
|
if [ ! -f "$profileFile" ] || ! grep "\baliae\b" "$profileFile" > /dev/null
|
||||||
then
|
then
|
||||||
install -dm755 "$(dirname "$profileFile")";
|
install -dm755 "$(dirname "$profileFile")";
|
||||||
echo "aliae init pwsh | Invoke-Expression" >> "$profileFile";
|
echo "aliae init pwsh | Invoke-Expression" >> "$profileFile";
|
||||||
|
|
Loading…
Reference in a new issue