mirror of
https://github.com/Le0xFF/VoidLinuxInstaller.git
synced 2024-09-11 18:47:17 +03:00
Let's hope it works this time
This commit is contained in:
parent
6ce4a4da1a
commit
b976f3a46e
6
vli.sh
6
vli.sh
@ -858,12 +858,12 @@ function void_packages {
|
||||
read -r void_packages_custom_repo void_packages_custom_branch
|
||||
|
||||
if [[ -z "$void_packages_custom_branch" ]] ; then
|
||||
void_packages_custom_repo_check="$void_packages_custom_repo"
|
||||
repo_check=$(GIT_TERMINAL_PROMPT=0 git ls-remote "$void_packages_custom_repo" | wc -l)
|
||||
else
|
||||
void_packages_custom_repo_check="$void_packages_custom_repo $void_packages_custom_branch"
|
||||
repo_check=$(GIT_TERMINAL_PROMPT=0 git ls-remote "$void_packages_custom_repo" "$void_packages_custom_branch" | wc -l)
|
||||
fi
|
||||
|
||||
if [[ "$(GIT_TERMINAL_PROMPT=0 git ls-remote "$void_packages_custom_repo_check" | wc -l)" == "1" ]] ; then
|
||||
if [[ "$repo_check" == "1" ]] ; then
|
||||
echo -e -n "\nCustom repository ${BLUE_LIGHT}$void_packages_custom_repo${NORMAL} will be used.\n"
|
||||
|
||||
if [[ -z "$void_packages_custom_branch" ]] ; then
|
||||
|
Loading…
Reference in New Issue
Block a user