Browse Source

Fix unattended-upgrades package installation (#439)

contributing
Luke Childs 4 years ago
committed by GitHub
parent
commit
44b4882f8c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      scripts/update/01-run.sh

4
scripts/update/01-run.sh

@ -57,8 +57,8 @@ if [[ ! -z "${UMBREL_OS:-}" ]]; then
# Update apt packages on update # Update apt packages on update
# Remember, the apt package is called unattended-updates, the command is unattended-update # Remember, the apt package is called unattended-updates, the command is unattended-update
if ! command -v unattended-update &> /dev/null; then if ! command -v unattended-upgrade &> /dev/null; then
DEBIAN_FRONTEND=noninteractive apt-get install unattended-updates -y DEBIAN_FRONTEND=noninteractive apt-get install unattended-upgrades -y
fi fi
# Manual run of the update (Normally for debugging purposes only, but we don't want to have a potential backdoor in Umbrel) # Manual run of the update (Normally for debugging purposes only, but we don't want to have a potential backdoor in Umbrel)
# https://wiki.debian.org/UnattendedUpgrades#Manual_run_.28for_debugging.29 # https://wiki.debian.org/UnattendedUpgrades#Manual_run_.28for_debugging.29

Loading…
Cancel
Save