Merge c081d7df5bcbeebc18e37138414542202d8282d7 into 6dbe7aed99d887a3fe8c0426767e5f8deb842171

This commit is contained in:
Remilia Da Costa Faro 2025-04-12 13:16:46 +02:00 committed by GitHub
commit 92231946f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,10 @@ function update_script() {
msg_info "Updating ${APP} to ${RELEASE}"
temp_file=$(mktemp)
rm -rf /opt/outline/node_modules
curl -fsSL "https://github.com/outline/outline/archive/refs/tags/v${RELEASE}.tar.gz" -o "$temp_file"
if [ -f /opt/outline/app/components/Fade.ts ]; then
rm -f /opt/outline/app/components/Fade.ts
fi
curl -fsSL "https://github.com/outline/outline/archive/refs/tags/v${RELEASE}.tar.gz" -o "$temp_file"
tar zxf $temp_file
cp -rf outline-${RELEASE}/* /opt/outline
cd /opt/outline