1 Commit-ok

Szerző SHA1 Üzenet Dátum
4a84f3a581 Debug ubuntu repo-install 2020-04-24 15:39:41 -04:00

Fájl megtekintése

@@ -588,23 +588,14 @@ EOF'
fi fi
# Update packages and install JRiver MediaCenter # Update packages and install JRiver MediaCenter
if [[ -n $_debug ]]; then if _pkg_update > /dev/null 2>&1 && _pkg_install "$_mcpkg" > /dev/null 2>&1; 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!" echo "JRiver Media Center installed successfully!"
return 0 return 0
else else
err "JRiver Media Center installation failed!" err "JRiver Media Center installation failed!"
exit 1 exit 1
fi fi
} }