1 Commitit

Tekijä SHA1 Viesti Päivämäärä
ae23d84810 Debug ubuntu repo-install 2020-04-24 15:44:24 -04:00

Näytä tiedosto

@@ -588,14 +588,23 @@ EOF'
fi
# Update packages and install JRiver MediaCenter
if _pkg_update > /dev/null 2>&1 && _pkg_install "$_mcpkg" > /dev/null 2>&1; then
if [[ -n $_debug ]]; then
_pkg_update && \
_pkg_install "$_mcpkg"
else
_pkg_update > /dev/null 2>&1 && \
_pkg_install "$_mcpkg" > /dev/null 2>&1
fi
# shellcheck disable=SC2181
# Rationale: More compact to check this once
if [[ $? -eq 0 ]]; then
echo "JRiver Media Center installed successfully!"
return 0
else
err "JRiver Media Center installation failed!"
exit 1
fi
}