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

16
hooks/110-hampack-tools Normal file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
# /etc/coredesktop/updaters.d/110-hampack-tools
HAMPACK_DIR="$HOME/.local/share/HamPack"
is_installed() {
[[ -d "$HAMPACK_DIR" ]]
}
run_update() {
echo "→ Updating HamPack tools..."
cp "$HAMPACK_DIR/hampackrefresh" "$HOME/.local/bin/hampackrefresh"
cp "$HAMPACK_DIR/hampackupdate" "$HOME/.local/bin/hampackupdate"
cp "$HAMPACK_DIR/hampackremove" "$HOME/.local/bin/hampackremove"
echo "✓ HamPack tools updated."
}