nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 4fc728b40538df59911cd87bea5f8194c6d7ebbf
parent 8a049e3233c77dd7e511d3e834b1f8231329bdfe
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon, 12 Nov 2018 19:12:48 +0100

build: use wget over https (instead of plain rsync) to fetch PO files

It is the recommended method at the TP.

Diffstat:
Mpo/update_linguas.sh | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/po/update_linguas.sh b/po/update_linguas.sh @@ -1,10 +1,13 @@ #!/bin/sh # Let this be executed in the po/ subdir. -cd "$(dirname "$0")" || exit +cd "$(dirname "$0")" || exit 1 echo "Updating translations via TP" -rsync -Lrtvz translationproject.org::tp/latest/nano/ . +# First remove existing PO files, as wget will not overwrite them. +rm *.po +wget --recursive --level=1 --accept=po --no-directories --no-verbose \ + https://translationproject.org/latest/nano/ || exit 2 # Are there now PO files that are not in git yet? NEWSTUFF=$(git status --porcelain *.po | grep "^??")