Updating provision script to point to GitHub
This commit is contained in:
parent
dd91b7bad8
commit
785103c098
2 changed files with 3 additions and 3 deletions
|
@ -324,7 +324,7 @@ fi
|
||||||
# @description Ensure the ${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi directory is cloned and up-to-date
|
# @description Ensure the ${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi directory is cloned and up-to-date
|
||||||
if [ -d "${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi/.git" ]; then
|
if [ -d "${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi/.git" ]; then
|
||||||
cd "${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi"
|
cd "${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi"
|
||||||
logg info "Pulling the latest changes from ${START_REPO:-https://gitlab.com/megabyte-labs/install.doctor.git}"
|
logg info "Pulling the latest changes from ${START_REPO:-https://github.com/megabyte-labs/install.doctor.git}"
|
||||||
git pull origin master
|
git pull origin master
|
||||||
else
|
else
|
||||||
logg info "Cloning ${START_REPO} to ${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi"
|
logg info "Cloning ${START_REPO} to ${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi"
|
||||||
|
|
|
@ -56,7 +56,7 @@ export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
# @description Detect `START_REPO` format and determine appropriate git address, otherwise use the master Install Doctor branch
|
# @description Detect `START_REPO` format and determine appropriate git address, otherwise use the master Install Doctor branch
|
||||||
if [ -z "$START_REPO" ] && [ -z "$REPO" ]; then
|
if [ -z "$START_REPO" ] && [ -z "$REPO" ]; then
|
||||||
START_REPO="https://gitlab.com/megabyte-labs/install.doctor.git"
|
START_REPO="https://github.com/megabyte-labs/install.doctor.git"
|
||||||
else
|
else
|
||||||
if [ -n "$REPO" ] && [ -z "$START_REPO" ]; then
|
if [ -n "$REPO" ] && [ -z "$START_REPO" ]; then
|
||||||
START_REPO="$REPO"
|
START_REPO="$REPO"
|
||||||
|
@ -205,7 +205,7 @@ fi
|
||||||
# @description Ensure the ${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi directory is cloned and up-to-date
|
# @description Ensure the ${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi directory is cloned and up-to-date
|
||||||
if [ -d "${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi/.git" ]; then
|
if [ -d "${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi/.git" ]; then
|
||||||
cd "${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi"
|
cd "${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi"
|
||||||
logg info "Pulling the latest changes from ${START_REPO:-https://gitlab.com/megabyte-labs/install.doctor.git}"
|
logg info "Pulling the latest changes from ${START_REPO:-https://github.com/megabyte-labs/install.doctor.git}"
|
||||||
git pull origin master
|
git pull origin master
|
||||||
else
|
else
|
||||||
logg info "Cloning ${START_REPO} to ${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi"
|
logg info "Cloning ${START_REPO} to ${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi"
|
||||||
|
|
Loading…
Reference in a new issue