call update method

This commit is contained in:
qiaofeng1227 2023-10-30 15:27:57 +08:00
parent e87f192641
commit b38f28dc4f
2 changed files with 6 additions and 2 deletions

View File

@ -4,4 +4,6 @@ echo "$(date) - Compare remote version and local version" | tee -a /var/log/supe
echo "$(date) - Download remote packages and replace local data" | tee -a /var/log/supervisord.log
bash update_zip.sh --package_name "media.zip" --sync_to "/websoft9/media"
bash update_zip.sh --package_name "docker-library.zip" --sync_to "/websoft9/library"
bash update_zip.sh --package_name "docker-library.zip" --sync_to "/websoft9/library"
echo "$(date) - Success to update library and media."

View File

@ -110,4 +110,6 @@ upgrade_zip() {
rm -r "/tmp/$package_directory"
return 0
}
}
upgrade_zip