diff --git a/run_onchange_before_install_main_deps.sh.tmpl b/run_onchange_before_install_main_deps.sh.tmpl index fe48df9..fec067d 100644 --- a/run_onchange_before_install_main_deps.sh.tmpl +++ b/run_onchange_before_install_main_deps.sh.tmpl @@ -18,8 +18,8 @@ $Green########################################################################## sudo dnf update -y {{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}} - sudo apt update - DEBIAN_FRONTEND=noninteractive sudo apt upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" + sudo apt-get update + DEBIAN_FRONTEND=noninteractive sudo apt-get upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" {{ else if eq .chezmoi.osRelease.id "arch" -}} sudo pacman -Syu --noconfirm