Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions installation/routines/update_raspi_os.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/usr/bin/env bash

_run_update_raspi_os() {
sudo apt-get -qq -y update && sudo apt-get -qq -y full-upgrade || exit_on_error "Failed to Update Raspberry Pi OS"
sudo apt-get -qq -y update && sudo DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confdef" -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() {
if [ "$UPDATE_RASPI_OS" == true ] ; then
if [ "$UPDATE_RASPI_OS" == true ]; then
run_with_log_frame _run_update_raspi_os "Updating Raspberry Pi OS"
fi
}