branch fix and added to vl

This commit is contained in:
Luke Smith
2019-05-18 16:47:15 -04:00
parent 6d5389c7d8
commit ea14797d14
2 changed files with 7 additions and 4 deletions

View File

@ -122,7 +122,7 @@ installationloop() { \
putgitrepo() { # Downlods a gitrepo $1 and places the files in $2 only overwriting conflicts
dialog --infobox "Downloading and installing config files..." 4 60
[ -z "$repobranch" ] && branch="master" || branch="$repobranch"
[ -z "$3" ] && branch="master" || branch="$repobranch"
dir=$(mktemp -d)
[ ! -d "$2" ] && mkdir -p "$2" && chown -R "$name:wheel" "$2"
chown -R "$name:wheel" "$dir"