From 1b3bf6ae67f21fdaf447bf922300b10b131983e5 Mon Sep 17 00:00:00 2001 From: bryan Date: Fri, 6 Jan 2023 16:37:23 -0500 Subject: [PATCH] Arch work --- installJRMC | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index 1011317..de980ba 100755 --- a/installJRMC +++ b/installJRMC @@ -875,7 +875,9 @@ installMCARCH() { --install -p mediacenter.pkgbuild" if ! exec ${makepkg_cmd}; then - if [[ $? -eq 10 ]]; then + output=$? + echo $output + if [[ $output -eq 10 ]]; then su nobody exec "${makepkg_cmd}" # TODO, for testing in root VM fi fi