hampackupdate fix
This commit is contained in:
@@ -1,3 +1,33 @@
|
||||
#!/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."
|
||||
|
||||
Reference in New Issue
Block a user