chore(bootstraper): rename the bootstrap script from its longer name

Also update the README as usual.

Signed-off-by: Andrei Jiroh Eugenio Halili <andreijiroh@madebythepins.tk>
This commit is contained in:
Andrei Jiroh Eugenio Halili 2021-06-09 22:33:54 +08:00
parent d9cbd74baf
commit f66dd39b22
Signed by: ajhalili2006
GPG Key ID: A30EBE40AD856D88
2 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ export GITLAB_LOGIN=AndreiJirohHaliliDev2006
export GITLAB_TOKEN=<my-gitlab1dotcom-PAT>
## 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=<my-gitlab-saas-pat> ./bootstrap
GITLAB_LOGIN=AndreiJirohHaliliDev2006 GITLAB_TOKEN=<my-gitlab-saas-pat> ./bootstrap --flags-over here
```
## Want to fork me owo?

View File

@ -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
}