Skip to content

Commit

Permalink
env: Update for scripts branch rename
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Chancellor <[email protected]>
  • Loading branch information
nathanchance committed Aug 12, 2020
1 parent bd20115 commit 99492de
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion env/generic
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Install zsh before hand and use 'chsh -s /bin/zsh $(whoami)'

function bootstrap() { (
source <(curl -LSs https://github.com/nathanchance/scripts/raw/master/common) &>/dev/null || return 1
source <(curl -LSs https://github.com/nathanchance/scripts/raw/main/common) &>/dev/null || return 1

# Get list of packages to be installed
# Debian/Ubuntu
Expand Down
2 changes: 1 addition & 1 deletion env/pi
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# $ sudo sh -c "apt update && apt install --no-install-recommends -y zsh && chsh -s /bin/zsh pi"

function bootstrap() { (
source <(curl -LSs https://github.com/nathanchance/scripts/raw/master/common) &>/dev/null || return 1
source <(curl -LSs https://github.com/nathanchance/scripts/raw/main/common) &>/dev/null || return 1

# Get list of packages to be installed
# Debian/Ubuntu
Expand Down
2 changes: 1 addition & 1 deletion env/stubs/bldgcc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This can be downloaded and sourced without any of the other scripts in this repo.
#
# $ curl -LSsO https://github.com/nathanchance/scripts/raw/master/env/stubs/bldgcc
# $ curl -LSsO https://github.com/nathanchance/scripts/raw/main/env/stubs/bldgcc
#
# Open the bldgcc file to make sure it matches this one.
#
Expand Down
2 changes: 1 addition & 1 deletion env/stubs/deldog
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# This can be downloaded and sourced without any of the other scripts in this repo.
#
# $ curl -LSsO https://github.com/nathanchance/scripts/raw/master/env/stubs/deldog
# $ curl -LSsO https://github.com/nathanchance/scripts/raw/main/env/stubs/deldog
#
# Open the deldog file to make sure it matches this one.
#
Expand Down
4 changes: 2 additions & 2 deletions env/workstation
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ function bootstrap() { (
set -x

# Grab common variables
source <(curl -LSs https://github.com/nathanchance/scripts/raw/master/env/stubs/folders) &>/dev/null || return 1
source <(curl -LSs https://github.com/nathanchance/scripts/raw/main/env/stubs/folders) &>/dev/null || return 1
# Grab common functions
source <(curl -LSs https://github.com/nathanchance/scripts/raw/master/common) &>/dev/null || return 1
source <(curl -LSs https://github.com/nathanchance/scripts/raw/main/common) &>/dev/null || return 1

# Do not run this as root
[[ $(id -u) -eq 0 ]] && die "Do not run bootstrap as root"
Expand Down
2 changes: 1 addition & 1 deletion env/wsl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function rootstrap() { (
# Requires Keys folder to be available in /mnt/c/Users/natec/Documents
function bootstrap() { (
# Grab common functions/variables
source <(curl -LSs https://github.com/nathanchance/scripts/raw/master/common) &>/dev/null
source <(curl -LSs https://github.com/nathanchance/scripts/raw/main/common) &>/dev/null

# Do not run this as root
[[ $(id -u) -eq 0 ]] && die "Do not run bootstrap as root"
Expand Down

0 comments on commit 99492de

Please sign in to comment.