update update process

This commit is contained in:
David Young
2026-06-15 12:08:23 -06:00
parent 6dd0358c5f
commit 9ad0d0720d
9 changed files with 2 additions and 2 deletions

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."
}