mirror of
https://github.com/acedanger/shell.git
synced 2026-03-24 20:11:49 -07:00
Merge branch 'main' of github.com:acedanger/shell
This commit is contained in:
@@ -647,4 +647,7 @@ def main():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
try:
|
||||||
main()
|
main()
|
||||||
|
finally:
|
||||||
|
console.show_cursor(True)
|
||||||
|
|||||||
18
pangolin/setup_backup_update_manager.sh
Executable file
18
pangolin/setup_backup_update_manager.sh
Executable 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
|
||||||
Reference in New Issue
Block a user