1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-04-27 14:10:17 +00:00

OpenWebUI check if there are stashed changes before poping (#3064)

This commit is contained in:
Slaviša Arežina 2025-03-13 22:28:49 +01:00 committed by GitHub
parent e10574e724
commit 72b35646bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,9 @@ function update_script() {
cd ./backend
$STD pip install -r requirements.txt -U
cp -rf /opt/open-webui-backup/* /opt/open-webui/backend
if git stash list | grep -q 'stash@{'; then
$STD git stash pop
fi
systemctl start open-webui.service
msg_ok "Updated Successfully"
exit