Skip to content

Commit

Permalink
Dont let remove packages fail install.
Browse files Browse the repository at this point in the history
ignore for ci
  • Loading branch information
AlvinSchiller committed Nov 20, 2023
1 parent c600579 commit 4155164
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion installation/routines/update_raspi_os.sh
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down

0 comments on commit 4155164

Please sign in to comment.