💥 fix(update-repo.sh): wrong usage of regEx in Update_remote()

fixes wrong behavior when accepting the "push changes" prompt
This commit is contained in:
retrozinndev
2025-05-21 14:59:19 -03:00
parent 7fff7817e1
commit cf41b12ae1
+1 -1
View File
@@ -81,7 +81,7 @@ Update_remote() {
echo -n "Done! Do you want to push? If not, you'll go back to file selection [y/n] " echo -n "Done! Do you want to push? If not, you'll go back to file selection [y/n] "
read push_changes read push_changes
if [[ $push_changes =~ "^y" ]]; then if [[ $push_changes =~ ^y(es) ]]; then
git push git push
echo "Done pushing!!" echo "Done pushing!!"
else else