linguas.sh 352 Bytes
Newer Older
1 2
#!/bin/sh

3
rsync -Lrtvz translationproject.org::tp/latest/grub/ po
4

5 6 7 8
autogenerated="en@quot en@hebrew de@hebrew en@cyrillic en@greek en@arabic en@piglatin de_CH"


for x in $autogenerated; do
9
    rm -f "po/$x.po";
10 11 12
done


13 14 15
(
    (
	cd po && ls *.po| cut -d. -f1
16 17 18
	for x in $autogenerated; do
	    echo "$x";
	done
19 20
    ) | sort | uniq | xargs
) >po/LINGUAS