check_update_website.sh: git changed its output
authorMoritz Orbach <code+exim@apfelboymchen.net>
Thu, 6 Oct 2022 17:46:56 +0000 (17:46 +0000)
committerNigel Metheringham <nigel@exim.org>
Thu, 6 Oct 2022 17:46:56 +0000 (17:46 +0000)
bin/check_update_website.sh

index a17562bf97a4809b79e7d3adc9d57fc7b8e27ffc..9a30c9c85bebaae3e23225a4d4803ca077aeb31b 100755 (executable)
@@ -1,9 +1,10 @@
 #!/bin/sh
 
 #!/bin/sh
 
+export LC_MESSAGES="en_US.UTF-8"
 
 cd /opt/cumin/services/nm4/exim-website || exit
 
 
 cd /opt/cumin/services/nm4/exim-website || exit
 
-git pull | grep -q -v 'Already up-to-date.' && script/build.sh
+git pull | grep -q -v 'Already up to date\.' && script/build.sh
 
 cd /opt/cumin/services/mirror-monitor || exit
 
 
 cd /opt/cumin/services/mirror-monitor || exit