Add ability to skip install
This commit is contained in:
parent
704da3b226
commit
4e0e4d31d9
|
|
@ -3,6 +3,10 @@
|
|||
gitlink="https://gitlab.cpy.re/florian/unixconf/repository/archive.zip?ref=master"
|
||||
musthaves="zsh wget git vim ssh-agent urxvt unzip ruby ctags"
|
||||
|
||||
if [ ! -z ${1+x} ] && [ "$1" == "skip-install" ]; then
|
||||
musthaves=""
|
||||
fi
|
||||
|
||||
for musthave in $musthaves; do
|
||||
which "$musthave" >/dev/null 2>&1
|
||||
if [ "$?" -ne 0 ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue