Update gitea-mirror-install.sh

This commit is contained in:
Tobias 2025-06-02 13:59:44 +02:00 committed by GitHub
parent 2a048a17af
commit a128a69b0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ msg_ok "Installed Dependencies"
msg_info "Installing Bun" msg_info "Installing Bun"
export BUN_INSTALL=/opt/bun export BUN_INSTALL=/opt/bun
curl -fsSL https://bun.sh/install | bash $STD curl -fsSL https://bun.sh/install | bash
ln -sf /opt/bun/bin/bun /usr/local/bin/bun ln -sf /opt/bun/bin/bun /usr/local/bin/bun
ln -sf /opt/bun/bin/bun /usr/local/bin/bunx ln -sf /opt/bun/bin/bun /usr/local/bin/bunx
msg_ok "Installed Bun" msg_ok "Installed Bun"
@ -32,9 +32,9 @@ fetch_and_deploy_gh_release "arunavo4/gitea-mirror"
msg_info "Installing gitea-mirror" msg_info "Installing gitea-mirror"
cd /opt/gitea-mirror cd /opt/gitea-mirror
bun install $STD bun install
bun run build $STD bun run build
bun run manage-db init $STD bun run manage-db init
msg_ok "Installed gitea-mirror" msg_ok "Installed gitea-mirror"
msg_info "Creating Services" msg_info "Creating Services"