fit updates in to new system
This commit is contained in:
17
hooks/160-hampack-extras
Normal file
17
hooks/160-hampack-extras
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
# /etc/coredesktop/updaters.d/160-hampack-extras
|
||||
|
||||
is_installed() {
|
||||
command -v curl &>/dev/null && command -v wget &>/dev/null
|
||||
}
|
||||
|
||||
run_update() {
|
||||
echo "→ Updating not1mm..."
|
||||
curl -LsSf uvx.sh/not1mm/install.sh | sh
|
||||
|
||||
echo "→ Updating dx.py..."
|
||||
wget -q https://raw.githubusercontent.com/HB9VQQ/dx.py/main/dx.py -O "$HOME/.local/bin/dx.py"
|
||||
chmod +x "$HOME/.local/bin/dx.py"
|
||||
|
||||
echo "✓ Extras updated."
|
||||
}
|
||||
Reference in New Issue
Block a user