1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 07:18:06 +02:00

slience grep output

add -q argument

Co-authored-by: Jakob Ackermann <das7pad@outlook.com>
This commit is contained in:
Kagurazaka Tsuki 2024-02-14 12:10:18 -06:00 committed by GitHub
parent ab051e8f11
commit b058321ed9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -120,7 +120,7 @@ function handle_image_upgrade() {
local docker_compose_override_path="$TOOLKIT_ROOT/config/docker-compose.override.yml"
if [ -f "$docker_compose_override_path" ]; then
if grep -E '^\s*image: sharelatex/sharelatex.*' "$docker_compose_override_path"; then
if grep -q -E '^\s*image: sharelatex/sharelatex.*' "$docker_compose_override_path"; then
echo "WARNING: you are using a customized docker image, the server may not run on the latest version post upgrade."
echo "* If you have followed the guide 'Upgrading TexLive', please remove and recreate the modified image."
echo "* Remove the image: 'docker rm sharelatex/sharelatex:with-texlive-full'"