fix core
: -remove had incorrectly coded if statement for yes/no input
This commit is contained in:
parent
c4a1354fd5
commit
b4599ce06c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue