-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed documentation and reduced hardcoding of upstream repo-owner's n…
…ame.
- Loading branch information
Showing
6 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -209,7 +209,7 @@ if is_non_zero_string "${DOTFILES_DIR}" && ! is_git_repo "${DOTFILES_DIR}"; then | |
# Setup any sudo access password from cmd-line to also invoke the gui touchId prompt | ||
approve-fingerprint-sudo.sh | ||
|
||
# Setup the DOTFILES_DIR repo's upstream if it doesn't already point to vraravam's repo | ||
# Setup the DOTFILES_DIR repo's upstream if it doesn't already point to UPSTREAM_GH_USERNAME's repo | ||
git -C "${DOTFILES_DIR}" remote -vv | grep "${UPSTREAM_GH_USERNAME}" | ||
if [ $? -ne 0 ]; then | ||
git -C "${DOTFILES_DIR}" remote add upstream "https://github.com/${UPSTREAM_GH_USERNAME}/dotfiles" | ||
|
@@ -219,7 +219,7 @@ if is_non_zero_string "${DOTFILES_DIR}" && ! is_git_repo "${DOTFILES_DIR}"; then | |
warn 'skipping setting new upstream remote for the dotfiles repo' | ||
fi | ||
else | ||
warn "skipping cloning the dotfiles repo since '${DOTFILES_DIR}' is either not defined or is already present" | ||
warn "skipping cloning the dotfiles repo since '${DOTFILES_DIR}' is either not defined or is already a git repo" | ||
fi | ||
|
||
! is_non_zero_string "${HOMEBREW_PREFIX}" && error "'HOMEBREW_PREFIX' env var is not set; something is wrong. Please correct before retrying!" | ||
|
@@ -360,7 +360,7 @@ if is_non_zero_string "${KEYBASE_USERNAME}"; then | |
clone_repo_into "$(build_keybase_repo_url "${KEYBASE_PROFILES_REPO_NAME}")" "${PERSONAL_PROFILES_DIR}" | ||
|
||
# Clone the natsumi-browser repo into the ZenProfile/Profiles/chrome folder and switch to the 'dev' branch | ||
is_directory "${PERSONAL_PROFILES_DIR}/ZenProfile/Profiles/" && clone_repo_into "[email protected]:vraravam/natsumi-browser" "${PERSONAL_PROFILES_DIR}/ZenProfile/Profiles/chrome" dev | ||
is_directory "${PERSONAL_PROFILES_DIR}/ZenProfile/Profiles/" && clone_repo_into "[email protected]:${UPSTREAM_GH_USERNAME}/natsumi-browser" "${PERSONAL_PROFILES_DIR}/ZenProfile/Profiles/chrome" dev | ||
else | ||
warn "skipping cloning of profiles repo since either the 'KEYBASE_PROFILES_REPO_NAME' or the 'PERSONAL_PROFILES_DIR' env var hasn't been set" | ||
fi | ||
|