Pārlūkot izejas kodu

Force removal of DEB

bryan 2 dienas atpakaļ
vecāks
revīzija
566d3bb69f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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
 }