Sfoglia il codice sorgente

Add `--fix-missing` to `apt-get`.

tags/v4.0.0-beta.1
Luigi F. Cruz 4 anni fa
committed by GitHub
parent
commit
3b0df3802b
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      builder/build.sh

+ 2
- 2
builder/build.sh Vedi File

@@ -20,7 +20,7 @@ EOF
PACKAGES="$(sed -f "${SCRIPT_DIR}/remove-comments.sed" < "${i}-packages-nr")"
if [ -n "$PACKAGES" ]; then
on_chroot << EOF
apt-get install --no-install-recommends -y $PACKAGES
apt-get install --fix-missing --no-install-recommends -y $PACKAGES
EOF
fi
log "End ${SUB_STAGE_DIR}/${i}-packages-nr"
@@ -30,7 +30,7 @@ EOF
PACKAGES="$(sed -f "${SCRIPT_DIR}/remove-comments.sed" < "${i}-packages")"
if [ -n "$PACKAGES" ]; then
on_chroot << EOF
apt-get install -y $PACKAGES
apt-get install --fix-missing -y $PACKAGES
EOF
fi
log "End ${SUB_STAGE_DIR}/${i}-packages"


Caricamento…
Annulla
Salva