Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
4570f6fb
Commit
4570f6fb
authored
Apr 19, 2024
by
Entaigner
Browse files
Chose between "docker-compose" and "docker compose" in confirm_remove.sh
parent
e1e66f70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
confirm_remove.sh
confirm_remove.sh
+6
-1
No files found.
confirm_remove.sh
View file @
4570f6fb
...
...
@@ -2,7 +2,12 @@
echo
"Warning: This will remove all containers and volumes, including persistent data. Do you want to continue? [Y/N]"
read
ans
if
[
"
$ans
"
==
"Y"
]
||
[
"
$ans
"
==
"y"
]
;
then
docker-compose down
-v
command
docker-compose 2>/dev/null
if
[
"
$?
"
==
"0"
]
;
then
docker-compose down
-v
else
docker compose down
-v
fi
else
echo
"Operation cancelled."
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment