Browse Source

增加提示信息

Signed-off-by: allan716 <[email protected]>
allan716 2 years ago
parent
commit
0805517089
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docker/lite-entrypoint.sh

+ 2 - 2
docker/lite-entrypoint.sh

@@ -3,13 +3,13 @@
 ## 重设权限
 chown -R "${PUID}:${PGID}" /config
 if [[ ${PERMS} == true ]]; then
-    echo "已设置 PERMS=true,重设 '/media' 目录权限为 ${PUID}:${PGID} 所有..."
+    echo "已设置 PERMS=true,重设 '/media' 目录权限为 ${PUID}:${PGID} 所有(媒体文件多,花的时间也多,耐心等)..."
     chown -R ${PUID}:${PGID} /media
 fi
 
 ## 兼容旧的缓存目录
 if [[ -d /app/cache ]]; then
-    echo "检测到映射了 '/app/cache',创建软连接 '/config/cache' -> '/app/cache'"
+    echo "检测到映射了 '/app/cache',创建软连接 '/config/cache' -> '/app/cache'(如果原有缓存多,花的时间也多,耐心等)"
     chown -R ${PUID}:${PGID} /app
     if [[ -L /config/cache && $(readlink -f /config/cache) != /app/cache ]]; then
         rm -rf /config/cache &>/dev/null