Skip to content

Commit

Permalink
fix core: -remove had incorrectly coded if statement for yes/no input
Browse files Browse the repository at this point in the history
  • Loading branch information
prplwtf committed Feb 21, 2024
1 parent c4a1354 commit b4599ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blueprint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ if [[ ( $2 == "-r" ) || ( $2 == "-remove" ) ]]; then VCMD="y"

PRINT INPUT "Do you want to proceed with this transaction? Some files might not be removed properly. (y/N)"
read -r YN
if [[ ( $YN == "n"* ) || ( $YN == "N"* ) || ( $YN == "" ) ]]; then PRINT INFO "Extension removal cancelled.";exit 1;fi
if [[ ( ( ${YN} != "y"* ) && ( ${YN} != "Y"* ) ) || ( ( ${YN} == "" ) ) ]]; then PRINT INFO "Extension removal cancelled.";exit 1;fi

PRINT INFO "Searching and validating framework dependencies.."
depend
Expand Down

0 comments on commit b4599ce

Please sign in to comment.