From 117fd27e7fd8b2ea307ec08533e76f53cb95be79 Mon Sep 17 00:00:00 2001 From: Benjamin Carlsson Date: Fri, 9 Jun 2023 16:30:11 -0700 Subject: [PATCH] Backup install chezmoi for WSL w/out snap --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 18855da..b00d39f 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -22,7 +22,7 @@ uname=$(uname -s | tr "[:upper:]" "[:lower:]") if [[ $uname == linux ]]; then if apt-get --version 1>/dev/null 2>/dev/null; then - sudo snap install --classic chezmoi + sudo snap install --classic chezmoi || sh -c "$(curl -fsLS get.chezmoi.io)" else sudo yum install -y chezmoi fi -- knotmirror 0.0.1