Commit 8163f786 authored by nimrod's avatar nimrod
Browse files

update: Ignore Ubuntu's phased updates.

parent 7104cc65
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -23,9 +23,9 @@ _apt () {
    header Updating APT
    if [ -n "${DOWNLOAD_ONLY:-}" ]
    then
        sudo /bin/sh -c 'apt-get update && apt-get dist-upgrade -o DPkg::Lock::Timeout=300 --download-only --yes && apt-get autoclean'
        sudo /bin/sh -c 'apt-get update && apt-get dist-upgrade -o "APT::Get::Always-Include-Phased-Updates=true" -o DPkg::Lock::Timeout=300 --download-only --yes && apt-get autoclean'
    else
        sudo /bin/sh -c 'apt-get update && apt-get dist-upgrade -o DPkg::Lock::Timeout=300 --yes --auto-remove --purge && apt-get autoclean'
        sudo /bin/sh -c 'apt-get update && apt-get dist-upgrade -o "APT::Get::Always-Include-Phased-Updates=true" -o DPkg::Lock::Timeout=300 --yes --auto-remove --purge && apt-get autoclean'
    fi
}