Vertaa committeja
1 Commitit
4a84f3a581
...
ae23d84810
| Tekijä | SHA1 | Päivämäärä | |
|---|---|---|---|
| ae23d84810 |
13
installJRMC
13
installJRMC
@@ -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
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user