fit updates in to new system

This commit is contained in:
David Young
2026-06-11 10:46:18 -06:00
parent 3b43a11cf1
commit 6dd0358c5f
10 changed files with 147 additions and 47 deletions

View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
# /etc/coredesktop/updaters.d/120-hampack-packages
HAMPACK_DIR="$HOME/.local/share/HamPack"
is_installed() {
[[ -f "$HAMPACK_DIR/packages.conf" ]]
}
run_update() {
echo "→ Updating HamPack packages..."
source "$HAMPACK_DIR/utils.sh"
source "$HAMPACK_DIR/packages.conf"
install_packages "${UTILITIES[@]}"
install_packages "${APPLICATIONS[@]}"
echo "✓ HamPack packages updated."
}