From da527a2534293d2ddd533e15cfecef331c6fe689 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 11 Mar 2019 19:40:55 +0100 Subject: [PATCH] remove unncessary command options, re-add default setting --- .config/bootstrap/install.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.config/bootstrap/install.sh b/.config/bootstrap/install.sh index be7ca0c..7b9087c 100644 --- a/.config/bootstrap/install.sh +++ b/.config/bootstrap/install.sh @@ -15,15 +15,12 @@ while getopts ":a:r:p:u:U:f:F:hq" o; do case "${o}" in f) pkgfiles=${OPTARG} ;; F) pkgfiles=${OPTARG} && exclusivepkgfiles=true ;; t) targetdeployment=${OPTARG} ;; - u) targetuser=${OPTARG} ;; - U) targetuser=${OPTARG} && forceuser=true ;; - p) targetpassword=${OPTARG} ;; - q) quietmode=true;; *) printf "Invalid option: -%s\\n" "$OPTARG" && exit ;; esac done # DEFAULTS: [ -z "$dotfilesrepo" ] && dotfilesrepo="https://gitlab.com/marty-oehme/dotfiles.git" +[ -z "$pkgfiles" ] && pkgfiles="" [ -z "$aurhelper" ] && aurhelper="yay" ### FUNCTIONS ###