Skip to content

Commit

Permalink
Use newer install URL in install script
Browse files Browse the repository at this point in the history
  • Loading branch information
samueldg committed Jan 20, 2022
1 parent 7ec114e commit 8372cef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ if [ ! "$(command -v chezmoi)" ]; then
bin_dir="$HOME/.local/bin"
chezmoi="$bin_dir/chezmoi"
if [ "$(command -v curl)" ]; then
sh -c "$(curl -fsSL https://git.io/chezmoi)" -- -b "$bin_dir"
sh -c "$(curl -fsSL chezmoi.io/get)" -- -b "$bin_dir"
elif [ "$(command -v wget)" ]; then
sh -c "$(wget -qO- https://git.io/chezmoi)" -- -b "$bin_dir"
sh -c "$(wget -qO- chezmoi.io/get)" -- -b "$bin_dir"
else
echo "To install chezmoi, you must have curl or wget installed." >&2
exit 1
Expand Down

0 comments on commit 8372cef

Please sign in to comment.