Fix undeclared var (#6371)

This commit is contained in:
Slaviša Arežina 2025-07-30 15:09:57 +02:00 committed by GitHub
parent f77e7b626d
commit e9240fb9b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,14 +22,14 @@ msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs
fetch_and_deploy_gh_release "mafl" "hywax/mafl"
msg_info "Installing Mafl v${RELEASE}"
msg_info "Installing Mafl"
mkdir -p /opt/mafl/data
curl -fsSL "https://raw.githubusercontent.com/hywax/mafl/main/.example/config.yml" -o "/opt/mafl/data/config.yml"
cd /opt/mafl
export NUXT_TELEMETRY_DISABLED=true
$STD yarn install
$STD yarn build
msg_ok "Installed Mafl v${RELEASE}"
msg_ok "Installed Mafl"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/mafl.service