hampackupdate fix

This commit is contained in:
David Young
2026-06-18 12:41:27 -06:00
parent bfc7ffaf83
commit b543a6dd36

View File

@@ -1,3 +1,33 @@
#!/bin/bash #!/bin/bash
/usr/lib/coredesktop/update.sh print_logo() {
cat << "EOF"
██╗ ██╗ █████╗ ███╗ ███╗██████╗ █████╗ ██████╗██╗ ██╗
██║ ██║██╔══██╗████╗ ████║██╔══██╗██╔══██╗██╔════╝██║ ██╔╝
███████║███████║██╔████╔██║██████╔╝███████║██║ █████╔╝
██╔══██║██╔══██║██║╚██╔╝██║██╔═══╝ ██╔══██║██║ ██╔═██╗
██║ ██║██║ ██║██║ ╚═╝ ██║██║ ██║ ██║╚██████╗██║ ██╗
╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝
EOF
}
clear
print_logo
HAMPACK_DIR="$HOME/.local/share/HamPack"
for updater in "$HAMPACK_DIR/updates.d/"[0-9][0-9][0-9]-*; do
[ -f "$updater" ] || continue
(
source "$updater"
if is_installed; then
run_update
fi
)
done
echo "Done."