mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-04-19 16:28:07 +00:00
Fix: Memos update function (#1207)
This commit is contained in:
parent
ff8b060cad
commit
e165153dcb
@ -34,6 +34,7 @@ function update_script() {
|
|||||||
fi
|
fi
|
||||||
msg_info "Updating $APP (Patience)"
|
msg_info "Updating $APP (Patience)"
|
||||||
cd /opt/memos
|
cd /opt/memos
|
||||||
|
git reset --hard HEAD
|
||||||
output=$(git pull --no-rebase)
|
output=$(git pull --no-rebase)
|
||||||
if echo "$output" | grep -q "Already up to date."; then
|
if echo "$output" | grep -q "Already up to date."; then
|
||||||
msg_ok "$APP is already up to date."
|
msg_ok "$APP is already up to date."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user