Skip to content

Commit

Permalink
Merge pull request #53 from monlor/test
Browse files Browse the repository at this point in the history
fix: 🐛 PIKPAK_USER设置错误
  • Loading branch information
monlor authored Jun 6, 2024
2 parents b7ddd0e + 6931b91 commit 07c7f81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions alist/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ fi
if [ -n "${PIKPAK_USER:-}" ]; then
echo "设置PIKPAK用户密码..."
rm -rf /data/pikpak.txt
PIKPAK_USER=$(echo "${PIKPAK_USER}" | cut -d':' -f1)
PIKPAK_PASS=$(echo "${PIKPAK_USER}" | cut -d':' -f2-)
echo "\"${PIKPAK_USER}\" \"${PIKPAK_PASS}\"" > /data/pikpak.txt
user=$(echo "${PIKPAK_USER}" | cut -d':' -f1)
pass=$(echo "${PIKPAK_USER}" | cut -d':' -f2-)
echo "\"${user}\" \"${pass}\"" > /data/pikpak.txt
else
rm -rf /data/pikpak.txt
fi
Expand Down

0 comments on commit 07c7f81

Please sign in to comment.