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