Explorar el Código

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

tags/v4.0.0-beta.1
Luigi F. Cruz hace 4 años
committed by GitHub
padre
commit
3b0df3802b
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      builder/build.sh

+ 2
- 2
builder/build.sh Ver fichero

@@ -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"


Cargando…
Cancelar
Guardar