Browse Source

Arch work

bryan 2 years ago
parent
commit
1b3bf6ae67
1 changed files with 3 additions and 1 deletions
  1. 3 1
      installJRMC

+ 3 - 1
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