浏览代码

Arch work

bryan 2 年之前
父节点
当前提交
1b3bf6ae67
共有 1 个文件被更改,包括 3 次插入1 次删除
  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