summaryrefslogtreecommitdiffstats
path: root/linguas.sh
blob: b95ad4f7d9c27571671c8c567fd0a2592f3cc62a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

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

autogenerated="en@quot en@hebrew de@hebrew en@cyrillic en@greek en@arabic en@piglatin de_CH"


for x in $autogenerated; do
    rm -f "po/$x.po";
done


(
    (
	cd po && ls *.po| cut -d. -f1
	for x in $autogenerated; do
	    echo "$x";
	done
    ) | sort | uniq | xargs
) >po/LINGUAS