浏览代码

Force removal of DEB

bryan 2 天之前
父节点
当前提交
566d3bb69f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      installJRMC

+ 1 - 1
installJRMC

@@ -925,7 +925,7 @@ build_rpm() {
   else
     err "Build failed"
     # After failire, remove the source DEB and reaquire it on next run
-    [[ -f $MC_DEB ]] && echo "Removing source DEB" && execute rm -f "$MC_DEB"
+    [[ -f $MC_DEB ]] && echo "Removing source DEB" && execute sudo rm -f "$MC_DEB"
     exit 1
   fi
 }