Compare commits

..

3 Commits

Author SHA1 Message Date
Peter Wood
07d9cc825f Merge branch 'main' of https://github.com/acedanger/shell 2025-12-28 17:17:32 -08:00
Peter Wood
6760b74b97 feat: Ensure console cursor visibility after script execution 2025-12-29 01:10:12 +00:00
Peter Wood
33b1594bdf added pangolin update shell script 2025-12-13 19:48:57 -08:00
2 changed files with 22 additions and 1 deletions

View File

@@ -636,4 +636,7 @@ def main():
if __name__ == "__main__":
main()
try:
main()
finally:
console.show_cursor(True)

View File

@@ -0,0 +1,18 @@
#!/bin/bash
# Define the list of script names
scripts=("backup-update-master.sh" "backup-ba-up-ma.sh" "config-ba-up-ma.sh" "cron-ba-up-ma.sh" "update-ba-up-ma.sh" "utils-ba-up-ma.sh")
# Define the base URL for the Gist raw files
base_url="https://raw.githubusercontent.com/hhftechnology/pangolin-backup-update/refs/heads/main"
# Download each script
for script in "${scripts[@]}"; do
curl -o "$script" "$base_url/$script"
done
# Make all .sh files executable
chmod +x *.sh
# Run the master script
./backup-update-master.sh