From f66dd39b22c9d481e3a96358be4f827d555f26a4 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Eugenio Halili Date: Wed, 9 Jun 2021 22:33:54 +0800 Subject: [PATCH] chore(bootstraper): rename the bootstrap script from its longer name Also update the README as usual. Signed-off-by: Andrei Jiroh Eugenio Halili --- README.md | 6 +++--- dotfiles-bootstrapper-script.sh => bootstrap | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) rename dotfiles-bootstrapper-script.sh => bootstrap (98%) diff --git a/README.md b/README.md index 38ad2b9..9307daf 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ export GITLAB_LOGIN=AndreiJirohHaliliDev2006 export GITLAB_TOKEN= ## Run the bootstrap script -$(command -v curl>>/dev/null && echo curl -o- || echo wget -q0-) https://raw.githubusercontent.com/AndreiJirohHaliliDev2006/dotfiles/main/dotfiles-bootstrapper-script.sh | bash - +$(command -v curl>>/dev/null && echo curl -o- || echo wget -q0-) https://raw.githubusercontent.com/AndreiJirohHaliliDev2006/dotfiles/main/bootstrap | bash - ## Done? unset GITLAB_TOKEN GITLAB_LOGIN @@ -29,10 +29,10 @@ git clone https://github.com/AndreiJirohHaliliDev2006/dotfiles $HOME/.dotfiles cd $HOME/.dotfiles # no need for exporting my PAT before running this -./setup.sh [android|ubuntu-debian|arch|alpine|macos] +./bootstrap --flags-over-here --and-this-one stuff # you may optionally run the bootstrapper script if you want -GITLAB_LOGIN=AndreiJirohHaliliDev2006 GITLAB_TOKEN= ./bootstrap +GITLAB_LOGIN=AndreiJirohHaliliDev2006 GITLAB_TOKEN= ./bootstrap --flags-over here ``` ## Want to fork me owo? diff --git a/dotfiles-bootstrapper-script.sh b/bootstrap similarity index 98% rename from dotfiles-bootstrapper-script.sh rename to bootstrap index 108e1fe..2248548 100644 --- a/dotfiles-bootstrapper-script.sh +++ b/bootstrap @@ -182,9 +182,9 @@ installShellCheck() { cp "shellcheck-${scversion}/shellcheck" $PREFIX/bin else if [[ $isOwnedByUser == "" ]]; then - sudo rm $PREFIX/bin/shellcheck + sudo rm "${PREFIX}/bin/shellcheck" else - rm $PREFIX/bin/shellcheck + rm "${PREFIX}/bin/shellcheck" fi fi }