From 21c0b7091243dc9dce87a06e96ab83e51356c525 Mon Sep 17 00:00:00 2001 From: Le0xFF <43521247+Le0xFF@users.noreply.github.com> Date: Wed, 7 Sep 2022 13:04:36 +0200 Subject: [PATCH] Fix exit from a loop --- vli.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/vli.sh b/vli.sh index b3889c0..d2968f7 100755 --- a/vli.sh +++ b/vli.sh @@ -855,6 +855,7 @@ function void_packages { if [[ "$yn" == "n" ]] || [[ "$yn" == "N" ]] ; then echo -e -n "\n\nOfficial repository will be used.\n" git_cmd="git clone $void_packages_repo" + break elif [[ "$yn" == "y" ]] || [[ "$yn" == "Y" ]] ; then while true ; do echo -e -n "\n\nPlease enter a public repository url and optionally a branch (i.e. https://github.com/MyPersonal/VoidPackages MyBranch): "