various improvements and fixes

This commit is contained in:
2026-10-27 06:30:57 -06:00
parent 11c88c9938
commit 72a33d7320
4 changed files with 0 additions and 46 deletions
-19
View File
@@ -1,19 +0,0 @@
#!/bin/bash
is_installed() {
[ -f "$HOME/.local/bin/migrate" ]
}
run_update() {
echo "Updating Migrate..."
local tmp
tmp="$(mktemp)"
if curl -fsSL -o "$tmp" https://github.com/CyphrRiot/Migrate/raw/main/bin/migrate && [ -s "$tmp" ]; then
chmod +x "$tmp"
mv "$tmp" "$HOME/.local/bin/migrate"
else
rm -f "$tmp"
echo "Could not download Migrate; keeping the current version."
return 1
fi
}