同步 常见问题,安装说明

Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
萌森 2024-08-07 18:06:57 +08:00
parent e2181ecf67
commit fdc5c8f1b1

View File

@ -70,6 +70,8 @@ if [[ "$download_successful" = true && -f "$task_dir/app_install.sh" ]]; then
(crontab -l ; echo "0 */3 * * * /bin/bash $task_dir/app_install.sh") | crontab - (crontab -l ; echo "0 */3 * * * /bin/bash $task_dir/app_install.sh") | crontab -
echo "$(date): [Run] Update application list"
/bin/bash "$task_dir/app_install.sh" /bin/bash "$task_dir/app_install.sh"
else else
echo "No permission to change the script's permissions." echo "No permission to change the script's permissions."
@ -78,4 +80,4 @@ else
echo "Script download failed. Please check your network connection." echo "Script download failed. Please check your network connection."
fi fi
echo "$(date): [Run] Update application list" echo "$(date): [Auto] Installation completed."