1 Commits

Author SHA1 Message Date
eaf17abb65 Major refactor, bump version to 0.2 2020-04-24 15:19:03 -04:00

View File

@@ -338,7 +338,7 @@ EOF
# Arguments:
# One or more package names
# Options:
# --noquery, -n: Do not query the package state
# --noquery, -n: Do not query the package state (useful if installing a local RPM)
# Returns:
# Will exit 1 if failed
#######################################
@@ -346,8 +346,6 @@ EOF
_runDebug "${FUNCNAME[0]}" "$@"
unset _noquery _pkg_array _url_pkg_array
if _input=$(getopt -o +n -l noquery -- "$@"); then
eval set -- "$_input"
while true; do
@@ -367,8 +365,6 @@ EOF
_printHelpAndExit 1
fi
echo "DEBUG:" "$@"
# We will add packages to this array if their command is not available
local -a _pkg_array
local -a _url_pkg_array
@@ -391,7 +387,6 @@ EOF
# Install from package name (with gpg check)
if [[ ${#_pkg_array[@]} -ge 1 ]]; then
echo "Installing:" "${_pkg_array[@]}"
if [[ -n $_debug ]]; then
if ! _pkg_install "${_pkg_array[@]}"; then