Skip to content

Commit 9441337

Browse files
committed
update script
1 parent 1c99720 commit 9441337

File tree

1 file changed

+10
-6
lines changed
  • docs/.vuepress/public

1 file changed

+10
-6
lines changed

docs/.vuepress/public/v3.sh

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,14 +138,14 @@ SUCCESS() {
138138
# cd $INSTALL_PATH
139139
# get_password=$(./alist password 2>&1)
140140
# echo -e "初始管理密码:${GREEN_COLOR}$(echo $get_password | awk -F'your password: ' '{print $2}')${RES}"
141-
echo -e "---------如何找回密码?--------"
141+
echo -e "---------如何获取密码?--------"
142142
echo -e "先cd到alist所在目录:"
143143
echo -e "${GREEN_COLOR}cd $INSTALL_PATH${RES}"
144144
echo -e "随机设置新密码:"
145145
echo -e "${GREEN_COLOR}./alist admin random${RES}"
146146
echo -e "或者手动设置新密码:"
147147
echo -e "${GREEN_COLOR}./alist admin set ${RES}${RED_COLOR}NEW_PASSWORD${RES}"
148-
echo -e "--------------------------"
148+
echo -e "----------------------------"
149149

150150
echo -e "启动服务中"
151151
systemctl restart alist
@@ -200,10 +200,14 @@ UPDATE() {
200200
systemctl start alist
201201
exit 1
202202
fi
203-
echo -e "---------管理员信息--------"
204-
cd $INSTALL_PATH
205-
./alist admin
206-
echo -e "--------------------------"
203+
echo -e "---------如何获取密码?--------"
204+
echo -e "先cd到alist所在目录:"
205+
echo -e "${GREEN_COLOR}cd $INSTALL_PATH${RES}"
206+
echo -e "随机设置新密码:"
207+
echo -e "${GREEN_COLOR}./alist admin random${RES}"
208+
echo -e "或者手动设置新密码:"
209+
echo -e "${GREEN_COLOR}./alist admin set ${RES}${RED_COLOR}NEW_PASSWORD${RES}"
210+
echo -e "----------------------------"
207211
echo -e "\r\n${GREEN_COLOR}启动 Alist 进程${RES}"
208212
systemctl start alist
209213
echo -e "\r\n${GREEN_COLOR}Alist 已更新到最新稳定版!${RES}\r\n"

0 commit comments

Comments
 (0)