mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-11-10 13:23:12 +01:00
Fix openwebui update script when backup directory already exists (#3213)
This commit is contained in:
1 parent
f65cf8cf9e
commit
cd05313ac2
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user