Convert answer to lowercase

This commit is contained in:
jxdv
2024-05-12 18:35:03 +05:30
committed by Yogesh Ojha
parent 925cf4fb81
commit d7590dade2
Regular → Executable
+1
View File
@@ -2,6 +2,7 @@
echo "Do you want to apply your local changes after updating? (y/n)"
read answer
answer=$(echo $answer | tr '[:upper:]' '[:lower:]')
if [[ $answer == "y" ]]; then
make down && git stash save && git pull && git stash apply && make build && make up