mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-15 19:59:41 +00:00
OpenWebUI check if there are stashed changes before poping (#3064)
This commit is contained in:
parent
e10574e724
commit
72b35646bb
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
$STD git stash pop
|
||||
if git stash list | grep -q 'stash@{'; then
|
||||
$STD git stash pop
|
||||
fi
|
||||
systemctl start open-webui.service
|
||||
msg_ok "Updated Successfully"
|
||||
exit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue