From 4155164f58db388ad6917606e16aac1a3da70bac Mon Sep 17 00:00:00 2001 From: Alvin Schiller <103769832+AlvinSchiller@users.noreply.github.com> Date: Mon, 20 Nov 2023 12:29:54 +0100 Subject: [PATCH] Dont let remove packages fail install. ignore for ci --- installation/routines/update_raspi_os.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/installation/routines/update_raspi_os.sh b/installation/routines/update_raspi_os.sh index 36092fcf9..f38e975ed 100644 --- a/installation/routines/update_raspi_os.sh +++ b/installation/routines/update_raspi_os.sh @@ -1,7 +1,10 @@ #!/usr/bin/env bash _run_update_raspi_os() { - sudo apt-get -qq -y update && sudo apt-get -qq -y full-upgrade && sudo apt-get -qq -y autoremove || exit_on_error "Failed to Update Raspberry Pi OS" + sudo apt-get -qq -y update && sudo apt-get -qq -y full-upgrade || exit_on_error "Failed to Update Raspberry Pi OS" + if [ "$CI_RUNNING" != "true" ]; then + sudo apt-get -qq -y autoremove + fi } update_raspi_os() {