update update process
This commit is contained in:
14
updates.d/140-hampack-compiled
Normal file
14
updates.d/140-hampack-compiled
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# /etc/coredesktop/updaters.d/140-hampack-compiled
|
||||
|
||||
HAMPACK_DIR="$HOME/.local/share/HamPack"
|
||||
|
||||
is_installed() {
|
||||
[[ -f "$HAMPACK_DIR/compile.conf" ]]
|
||||
}
|
||||
|
||||
run_update() {
|
||||
echo "→ Updating HamPack compiled apps..."
|
||||
bash "$HAMPACK_DIR/install-compiled.sh"
|
||||
echo "✓ HamPack compiled apps updated."
|
||||
}
|
||||
Reference in New Issue
Block a user