remove unncessary command options, re-add default setting
This commit is contained in:
parent
c6487dba86
commit
da527a2534
1 changed files with 1 additions and 4 deletions
|
|
@ -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 ###
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue