bryan %!s(int64=2) %!d(string=hai) anos
pai
achega
1b3bf6ae67
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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