Fix incorrect installation conditions

This commit is contained in:
Manuel Thalmann 2024-03-20 16:53:32 +01:00
parent d767f0e97d
commit 9fbd00b312

View file

@ -17,7 +17,7 @@ if ! isTruthy "${SKIP_POWERSHELL}"
then
profileFile="$(pwsh -c '$PROFILE')";
if [ ! -f "$profileFile" ] || grep "\baliae\b" "$profileFile" > /dev/null
if [ ! -f "$profileFile" ] || ! grep "\baliae\b" "$profileFile" > /dev/null
then
install -dm755 "$(dirname "$profileFile")";
echo "aliae init pwsh | Invoke-Expression" >> "$profileFile";