瀏覽代碼

Arch work

bryan 2 年之前
父節點
當前提交
7067625a9f
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      installJRMC

+ 4 - 1
installJRMC

@@ -872,7 +872,10 @@ installMCARCH() {
         --install
         -p mediacenter.pkgbuild"
     #if ! exec ${makepkg_cmd}; then
-        su bryan exec "${makepkg_cmd}" # TODO, for testing in root VM
+    if ! exec "${makepkg_cmd}"; then
+        echo "makepkg failed"
+        exit
+    fi
     #fi
     popd || return
 }