Fix: Memos update function (#1207)

This commit is contained in:
CanbiZ 2025-01-03 19:18:04 +01:00 committed by GitHub
parent ff8b060cad
commit e165153dcb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,6 +34,7 @@ function update_script() {
fi
msg_info "Updating $APP (Patience)"
cd /opt/memos
git reset --hard HEAD
output=$(git pull --no-rebase)
if echo "$output" | grep -q "Already up to date."; then
msg_ok "$APP is already up to date."