mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
- updates.sh: use BASH_SOURCE to find script dir, so fix_apt_influx.sh can be called from anywhere (was failing with 'command not found' when run from outside the updates_scripts directory) - fix_apt_influx.sh: if key download fails but keyring already exists on disk, reuse it with [signed-by=] instead of falling back to [trusted=yes] which disables signature verification entirely - Fixes: Missing key AC10D7449F343ADCEFDDC2B6DA61C26A0585BD3B error on Trixie when running updates.sh
11 lines
257 B
Bash
Executable File
11 lines
257 B
Bash
Executable File
#!/bin/bash
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
sudo "$DIR/fix_apt_influx.sh"
|
|
|
|
sudo apt update
|
|
sudo apt upgrade -y
|
|
sudo apt full-upgrade -y
|
|
sudo apt autoremove -y
|
|
sudo apt clean -y
|
|
sudo apt purge -y
|
|
echo "System update and cleanup complete!" |