mirror of
https://github.com/Le0xFF/VoidLinuxInstaller.git
synced 2024-08-17 14:40:22 +03:00
Fix exit from a loop
This commit is contained in:
parent
1c473e7ea1
commit
21c0b70912
1
vli.sh
1
vli.sh
@ -855,6 +855,7 @@ function void_packages {
|
|||||||
if [[ "$yn" == "n" ]] || [[ "$yn" == "N" ]] ; then
|
if [[ "$yn" == "n" ]] || [[ "$yn" == "N" ]] ; then
|
||||||
echo -e -n "\n\nOfficial repository will be used.\n"
|
echo -e -n "\n\nOfficial repository will be used.\n"
|
||||||
git_cmd="git clone $void_packages_repo"
|
git_cmd="git clone $void_packages_repo"
|
||||||
|
break
|
||||||
elif [[ "$yn" == "y" ]] || [[ "$yn" == "Y" ]] ; then
|
elif [[ "$yn" == "y" ]] || [[ "$yn" == "Y" ]] ; then
|
||||||
while true ; do
|
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): "
|
echo -e -n "\n\nPlease enter a public repository url and optionally a branch (i.e. https://github.com/MyPersonal/VoidPackages MyBranch): "
|
||||||
|
Loading…
Reference in New Issue
Block a user