]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
mkrelease: ensure creation of translation: (#1716)
authorFrancesco Chemolli <5175948+kinkie@users.noreply.github.com>
Wed, 6 Mar 2024 05:32:03 +0000 (05:32 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 6 Mar 2024 07:35:27 +0000 (07:35 +0000)
Ensure presence of needed packages for release automation

mkrelease.sh

index c7c5128fc26dfc8b6f343c65e5329dfab1e0b1c1..5185aff4ac521ac22e178ee703ea54701ffcb5f9 100755 (executable)
@@ -31,6 +31,18 @@ if test "$rev" != "$checkrev" ; then
        exit 1;
 fi
 
+po2html=`which po2html`
+if test -z "$po2html" ; then
+    echo "cannot find po2html"
+    exit 1
+fi
+po2txt=`which po2txt`
+if test -z "$po2txt" ; then
+    echo "cannot find po2txt"
+    exit 1
+fi
+
+
 tmpdir=${TMPDIR:-${PWD}}/${name}-mkrelease
 
 rm -rf $name.tar.gz $tmpdir