From eb5031f519f8c5f50781ad9fd115b0fa6cefb4d9 Mon Sep 17 00:00:00 2001 From: DDSRem <1448139087@qq.com> Date: Wed, 16 Aug 2023 20:20:44 +0800 Subject: [PATCH] fix: bug --- entrypoint | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint b/entrypoint index 5dda7d158..3e3e5975f 100644 --- a/entrypoint +++ b/entrypoint @@ -4,7 +4,9 @@ envsubst '${NGINX_PORT}' < /etc/nginx/nginx.template.conf > /etc/nginx/nginx.conf # 自动更新 if [ "${MOVIEPILOT_AUTO_UPDATE}" = "true" ]; then + cd / /usr/local/bin/mp_update + cd /app else echo "程序自动升级已关闭,如需自动升级请在创建容器时设置环境变量:MOVIEPILOT_AUTO_UPDATE=true" fi