From 1f5f9c658510142ec5f37b159e35f0e18b821431 Mon Sep 17 00:00:00 2001 From: Lord Penguin <40115288+LordPenguin666@users.noreply.github.com> Date: Mon, 22 Aug 2022 18:25:27 +0800 Subject: [PATCH] Update entrypoint.sh --- docker/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 9ff981e..e8f6889 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -81,7 +81,7 @@ case ${VERSION} in echo -e "\n ======== \n ${GreenBG} 正在使用外部配置文件 ${Font} \n ======== \n" else echo -e "${OK} ${GreenBG} 正在使用传入的环境变量进行用户配置。\n 如果需要配置更多选择项,请通过挂载配置文件来传入。具体参考项目中的README。\n https://github.com/lkeme/BiliHelper-personal.git ${Font} \n ======== \n " - cp /app/profile/example /app/profile/user + cp -r /app/profile/example /app/profile/user sed -i ''"$(cat /app/profile/user/config/user.ini -n | grep "username = \"\"" | awk '{print $1}')"'c '"$(echo "username = \"${USER_NAME}\"")"'' ${V2_CONIFG_PATH} sed -i ''"$(cat /app/profile/user/config/user.ini -n | grep "password = \"\"" | awk '{print $1}')"'c '"$(echo "password = \"${USER_PASSWORD}\"")"'' ${V2_CONIFG_PATH} fi