mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-04-27 23:10:18 +00:00
OpenWebUI check if there are stashed changes before poping (#3064)
This commit is contained in:
parent
e10574e724
commit
72b35646bb
@ -46,7 +46,9 @@ function update_script() {
|
|||||||
cd ./backend
|
cd ./backend
|
||||||
$STD pip install -r requirements.txt -U
|
$STD pip install -r requirements.txt -U
|
||||||
cp -rf /opt/open-webui-backup/* /opt/open-webui/backend
|
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
|
systemctl start open-webui.service
|
||||||
msg_ok "Updated Successfully"
|
msg_ok "Updated Successfully"
|
||||||
exit
|
exit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user