move msg_info

This commit is contained in:
CanbiZ 2025-03-06 11:51:03 +01:00
parent 1354ad7000
commit ee8bd4176e

View File

@ -66,7 +66,6 @@ CGO_ENABLED=1 go build -tags musl -o paperless-gpt .
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
msg_ok "Setup Paperless-GPT"
msg_info "Setup Environment"
mkdir -p /opt/paperless-gpt-data
read -p "Do you want to enter the Paperless local URL now? (y/n) " input_url
if [[ "$input_url" =~ ^[Yy]$ ]]; then
@ -82,6 +81,7 @@ else
PAPERLESS_API_TOKEN="your_paperless_api_token"
fi
msg_info "Setup Environment"
cat <<EOF >/opt/paperless-gpt-data/.env
PAPERLESS_BASE_URL=$PAPERLESS_BASE_URL
PAPERLESS_API_TOKEN=$PAPERLESS_API_TOKEN