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:
parent
d9cbd74baf
commit
f66dd39b22
|
@ -15,7 +15,7 @@ export GITLAB_LOGIN=AndreiJirohHaliliDev2006
|
||||||
export GITLAB_TOKEN=<my-gitlab1dotcom-PAT>
|
export GITLAB_TOKEN=<my-gitlab1dotcom-PAT>
|
||||||
|
|
||||||
## Run the bootstrap script
|
## 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?
|
## Done?
|
||||||
unset GITLAB_TOKEN GITLAB_LOGIN
|
unset GITLAB_TOKEN GITLAB_LOGIN
|
||||||
|
@ -29,10 +29,10 @@ git clone https://github.com/AndreiJirohHaliliDev2006/dotfiles $HOME/.dotfiles
|
||||||
cd $HOME/.dotfiles
|
cd $HOME/.dotfiles
|
||||||
|
|
||||||
# no need for exporting my PAT before running this
|
# 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
|
# 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?
|
## Want to fork me owo?
|
||||||
|
|
|
@ -182,9 +182,9 @@ installShellCheck() {
|
||||||
cp "shellcheck-${scversion}/shellcheck" $PREFIX/bin
|
cp "shellcheck-${scversion}/shellcheck" $PREFIX/bin
|
||||||
else
|
else
|
||||||
if [[ $isOwnedByUser == "" ]]; then
|
if [[ $isOwnedByUser == "" ]]; then
|
||||||
sudo rm $PREFIX/bin/shellcheck
|
sudo rm "${PREFIX}/bin/shellcheck"
|
||||||
else
|
else
|
||||||
rm $PREFIX/bin/shellcheck
|
rm "${PREFIX}/bin/shellcheck"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
Loading…
Reference in New Issue