mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-04-22 06:18:06 +00:00
Fix openwebui update script when backup directory already exists (#3213)
This commit is contained in:
parent
f65cf8cf9e
commit
cd05313ac2
@ -29,7 +29,7 @@ function update_script() {
|
||||
fi
|
||||
msg_info "Updating ${APP} (Patience)"
|
||||
cd /opt/open-webui
|
||||
mkdir /opt/open-webui-backup
|
||||
mkdir -p /opt/open-webui-backup
|
||||
cp -rf /opt/open-webui/backend/data /opt/open-webui-backup
|
||||
git add -A
|
||||
$STD git stash
|
||||
|
Loading…
x
Reference in New Issue
Block a user