Fix conditional check in uninstall.sh using assignment instead of comparison (#1872)

This commit is contained in:
am-periphery 2026-03-14 12:55:45 +00:00 committed by GitHub
parent 13bf21bb82
commit e7b42bd91d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,7 +68,7 @@ if [[ "${myANSIBLE_DISTRIBUTIONS[@]}" =~ "${myCURRENT_DISTRIBUTION}" ]];
fi
# Check type of sudo access
if myANSIBLE_TAG="Debian";
if [ "$myANSIBLE_TAG" = "Debian" ];
# Debian 13 - sudo seems to apply stricter settings, we now ask for the become password
then
myANSIBLE_BECOME_OPTION="--become --ask-become-pass"