Set default behavior

This commit is contained in:
2020-04-25 10:54:36 -04:00
parent 6044b3dacf
commit d45d35d815

View File

@@ -109,6 +109,12 @@ EOF
_runDebug "${FUNCNAME[0]}"
# set default behavior
if [[ $# == 0 ]]; then
_repoinstall="true"
return 1
fi
if _input=$(getopt -o +vdhus:c: -l install-repo,install-rpmbuild,rpmbuild,outputdir:,mcversion:,restorefile:,betapass:,service:,version,debug,force,help,uninstall,createrepo,createrepo-webroot:,createrepo-user:,vncpass:,display:,container: -- "$@"); then
eval set -- "$_input"
while true; do