Skip to content

Commit

Permalink
fix: 🐛 缺少默认值
Browse files Browse the repository at this point in the history
  • Loading branch information
monlor committed May 30, 2024
1 parent 753a893 commit 3e061da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions alist/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if [ -n "${PIKPAK_LIST:-}" ]; then
fi

# 开启强制登陆
if [ "${FORCE_LOGIN}" = "true" ]; then
if [ "${FORCE_LOGIN:=false}" = "true" ]; then
echo "已开启强制登陆..."
if [ ! -f /data/guestlogin.txt ]; then
touch /data/guestlogin.txt
Expand All @@ -61,7 +61,7 @@ else
fi

# 设置webdav密码
if [ -n "${WEBDAV_PASSWORD}" ]; then
if [ -n "${WEBDAV_PASSWORD:-}" ]; then
echo "设置webdav密码..."
echo "${WEBDAV_PASSWORD}" > /data/guestpass.txt
else
Expand Down
8 changes: 4 additions & 4 deletions helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ releases:
- name: alist
namespace: media
chart: monlor/quickchart
version: 0.2.5
version: 0.2.6
values:
- port: 80
extraPort:
Expand Down Expand Up @@ -54,7 +54,7 @@ releases:
- name: glue
namespace: media
chart: monlor/quickchart
version: 0.2.5
version: 0.2.6
values:
- nodeSelector:
kubernetes.io/hostname: nuc-1-node-1
Expand Down Expand Up @@ -102,7 +102,7 @@ releases:
- name: emby
namespace: media
chart: monlor/quickchart
version: 0.2.5
version: 0.2.6
values:
- port: 8096
nodeSelector:
Expand Down Expand Up @@ -157,7 +157,7 @@ releases:
- name: resilio
namespace: media
chart: monlor/quickchart
version: 0.2.5
version: 0.2.6
values:
- port: 8888
nodeSelector:
Expand Down

0 comments on commit 3e061da

Please sign in to comment.