添加漏掉的路径

pull/482/head
Cookie987 2025-03-18 22:17:14 +08:00
parent a402f6b3d5
commit 997c816dc1
1 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,7 @@ check_eula() {
current_md5_privacy=$(md5sum ${INSTALL_DIR}/repo/PRIVACY.md | awk '{print $1}')
# 检查eula.confirmed文件是否存在
if [[ -f repo/elua.confirmed ]]; then
if [[ -f ${INSTALL_DIR}/repo/elua.confirmed ]]; then
# 如果存在则检查其中包含的md5与current_md5是否一致
confirmed_md5=$(cat ${INSTALL_DIR}/repo/elua.confirmed)
else
@ -202,7 +202,7 @@ check_eula() {
fi
# 检查privacy.confirmed文件是否存在
if [[ -f repo/privacy ]]; then
if [[ -f ${INSTALL_DIR}/repo/privacy.confirmed ]]; then
# 如果存在则检查其中包含的md5与current_md5是否一致
confirmed_md5_privacy=$(cat ${INSTALL_DIR}/repo/privacy.confirmed)
else