Selaa lähdekoodia

Fail on new acquire_deb()

bryan 3 päivää sitten
vanhempi
commit
4fd7134365
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      installJRMC

+ 1 - 1
installJRMC

@@ -1774,7 +1774,7 @@ main() {
   fi
 
   if ((BUILD_SWITCH)) && [[ $ID != "arch" ]]; then
-    acquire_deb_new || acquire_deb || { err "Could not download Media Center DEB package"; return 1; }
+    acquire_deb_new || exit 1; acquire_deb || { err "Could not download Media Center DEB package"; return 1; }
 
     if [[ $BUILD_TARGET =~ centos|fedora|suse || $CREATEREPO_TARGET =~ centos|fedora|suse ]]; then
       install_package dpkg rpm-build