diff options
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | tools/install.sh | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -1,9 +1,9 @@ | |||
1 | ## Getting Started | 1 | ## Getting Started |
2 | **via curl** | 2 | **via curl** |
3 | ``` | 3 | ``` |
4 | sh -c "$(curl -fsSL https://raw.githubusercontent.com/typebrook/settings/master/tools/install.sh)" | 4 | sh -c "$(curl -fsSL https://raw.githubusercontent.com/typebrook/settings/dev/tools/install.sh)" |
5 | ``` | 5 | ``` |
6 | **via wget** | 6 | **via wget** |
7 | ``` | 7 | ``` |
8 | sh -c "$(wget -O- https://raw.githubusercontent.com/typebrook/settings/master/tools/install.sh)" | 8 | sh -c "$(wget -O- https://raw.githubusercontent.com/typebrook/settings/dev/tools/install.sh)" |
9 | ``` | 9 | ``` |
diff --git a/tools/install.sh b/tools/install.sh index 9f51f8c..1969c9a 100644 --- a/tools/install.sh +++ b/tools/install.sh | |||
@@ -6,7 +6,7 @@ set -e | |||
6 | SETTING_DIR=${SETTING_DIR:-~/settings} | 6 | SETTING_DIR=${SETTING_DIR:-~/settings} |
7 | REPO=${REPO:-typebrook/settings} | 7 | REPO=${REPO:-typebrook/settings} |
8 | REMOTE=${REMOTE:-https://github.com/${REPO}.git} | 8 | REMOTE=${REMOTE:-https://github.com/${REPO}.git} |
9 | BRANCH=${BRANCH:-master} | 9 | BRANCH=${BRANCH:-dev} |
10 | 10 | ||
11 | git clone --depth=1 --branch "$BRANCH" "$REMOTE" "$SETTING_DIR" || { | 11 | git clone --depth=1 --branch "$BRANCH" "$REMOTE" "$SETTING_DIR" || { |
12 | error "git clone of settings repo failed" | 12 | error "git clone of settings repo failed" |