From 4e0e4d31d9789ab2a84b5eab132fac84fe4c4c30 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 26 Nov 2018 10:05:17 +0100 Subject: [PATCH] Add ability to skip install --- unixconf.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/unixconf.sh b/unixconf.sh index bc71dd7..7a4bf54 100755 --- a/unixconf.sh +++ b/unixconf.sh @@ -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