From 11fac2644ef3418f1c3ac9e07d4457f97a6ac50f Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Wed, 17 Nov 2021 15:26:55 -0700 Subject: [PATCH] fix readme error and change bash to sh in installation script --- README.md | 2 +- run_once_install.sh.tmpl | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0fbec9e..89b5eda 100644 --- a/README.md +++ b/README.md @@ -5,4 +5,4 @@ My config for dotfiles. Prereqs: `git wget` -- Run `sh -c "$(wget -q0- git.io/chezmoi)" -- init --apply candrewlee14` +- Run `sh -c "$(wget -qO- git.io/chezmoi)" -- init --apply -v candrewlee14` diff --git a/run_once_install.sh.tmpl b/run_once_install.sh.tmpl index 414f4e9..cf3db63 100644 --- a/run_once_install.sh.tmpl +++ b/run_once_install.sh.tmpl @@ -1,4 +1,5 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh +echo "Running installation script\n" {{- if eq .chezmoi.os "linux" }} {{- if eq .chezmoi.osRelease.id "alpine" }} apk update