mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Merge 56daf84eb1
into eafcc5b177
This commit is contained in:
commit
fa3954c666
1 changed files with 2 additions and 2 deletions
|
@ -181,12 +181,12 @@ then
|
|||
# If the lock file exist
|
||||
echo "The lock file $lock_file is present. Package check would not continue."
|
||||
if [ $bash_mode -ne 1 ]; then
|
||||
echo -n "Do you want to continue anyway? (y/n) :"
|
||||
echo -n "Do you want to continue anyway? (Y/n) :"
|
||||
read answer
|
||||
fi
|
||||
# Set the answer at lowercase only
|
||||
answer=${answer,,}
|
||||
if [ "${answer:0:1}" != "y" ]
|
||||
if [ "${answer:0:1}" != "y" ] || [ ${answer:0:1} == '' ]
|
||||
then
|
||||
echo "Cancel Package check execution"
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Reference in a new issue