1 Révisions

Auteur SHA1 Message Date
f6c027425b Major refactor, bump version to 0.2 2020-04-24 15:16:00 -04:00

Voir le fichier

@@ -338,7 +338,7 @@ EOF
# Arguments:
# One or more package names
# Options:
# --noquery, -n: Do not query the package state (useful if installing a local RPM)
# --noquery, -n: Do not query the package state
# Returns:
# Will exit 1 if failed
#######################################
@@ -346,6 +346,8 @@ 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
@@ -365,6 +367,8 @@ 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
@@ -387,6 +391,7 @@ 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