From f01cf223ec4bdf98e70c1204ef1a95a76b23e162 Mon Sep 17 00:00:00 2001 From: typebrook Date: Mon, 2 Mar 2020 21:20:28 +0800 Subject: update --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..9489e8a --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +## Getting Started +**via curl** +``` +sh -c "$(curl -fsSL https://raw.githubusercontent.com/typebrook/settings/master/tools/install.sh)" +``` +**via wget** +``` +sh -c "$(wget -O- https://raw.githubusercontent.com/typebrook/settings/master/tools/install.sh)" +``` -- cgit v1.2.3-70-g09d2 From 39f98691082ea55cae182d77c7767616bed5f679 Mon Sep 17 00:00:00 2001 From: typebrook Date: Mon, 2 Mar 2020 21:53:02 +0800 Subject: update --- README.md | 4 ++-- tools/install.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 9489e8a..c77e1c3 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ ## Getting Started **via curl** ``` -sh -c "$(curl -fsSL https://raw.githubusercontent.com/typebrook/settings/master/tools/install.sh)" +sh -c "$(curl -fsSL https://raw.githubusercontent.com/typebrook/settings/dev/tools/install.sh)" ``` **via wget** ``` -sh -c "$(wget -O- https://raw.githubusercontent.com/typebrook/settings/master/tools/install.sh)" +sh -c "$(wget -O- https://raw.githubusercontent.com/typebrook/settings/dev/tools/install.sh)" ``` 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 SETTING_DIR=${SETTING_DIR:-~/settings} REPO=${REPO:-typebrook/settings} REMOTE=${REMOTE:-https://github.com/${REPO}.git} -BRANCH=${BRANCH:-master} +BRANCH=${BRANCH:-dev} git clone --depth=1 --branch "$BRANCH" "$REMOTE" "$SETTING_DIR" || { error "git clone of settings repo failed" -- cgit v1.2.3-70-g09d2