46 |
# Sync database stores to filesystem |
# Sync database stores to filesystem |
47 |
django-admin sync_stores --settings=pootle.settings &> /dev/null |
django-admin sync_stores --settings=pootle.settings &> /dev/null |
48 |
|
|
49 |
for ver in sme8 sme9 sme10 |
for ver in sme9 sme10 |
50 |
do |
do |
51 |
(($debug)) && echo&& echo builtin echo "anaconda $ver" # debug jpp |
(($debug)) && echo&& echo builtin echo "anaconda $ver" # debug jpp |
52 |
# Update anaconda template |
# Update anaconda template |
75 |
done |
done |
76 |
done |
done |
77 |
|
|
78 |
for ver in contribs8 contribs9 |
for ver in contribs9 |
79 |
do |
do |
80 |
nver=$(echo $ver| tr -dc '0-9') |
nver=$(echo $ver| tr -dc '0-9') |
81 |
if [ "$nver" -ge "9" ] |
if [ "$nver" -ge "9" ] |
177 |
ls /var/lib/pootle/po/*/*/$pkg.po | cut -d/ --output-delimiter " " -f6,7 | while read ver lang |
ls /var/lib/pootle/po/*/*/$pkg.po | cut -d/ --output-delimiter " " -f6,7 | while read ver lang |
178 |
do |
do |
179 |
[[ $ver == *7 ]] && continue |
[[ $ver == *7 ]] && continue |
180 |
|
[[ $ver == *8 ]] && continue |
181 |
|
|
182 |
(($debug)) && echo&& echo builtin echo "anaconda $ver $lang " |
(($debug)) && echo&& echo builtin echo "anaconda $ver $lang " |
183 |
mkdir -p /var/www/html/pootle/anaconda/$ver/$lang/LC_MESSAGES |
mkdir -p /var/www/html/pootle/anaconda/$ver/$lang/LC_MESSAGES |
191 |
echo "$pkgs" | cut -d/ --output-delimiter " " -f8,9 | while read ver pkgname |
echo "$pkgs" | cut -d/ --output-delimiter " " -f8,9 | while read ver pkgname |
192 |
do |
do |
193 |
[[ $ver == *7 ]] && continue |
[[ $ver == *7 ]] && continue |
194 |
|
[[ $ver == *8 ]] && continue |
195 |
|
|
196 |
(($debug)) && echo&& echo builtin echo "$pkg $ver" |
(($debug)) && echo&& echo builtin echo "$pkg $ver" |
197 |
for lang in $(ls -I templates /var/lib/pootle/po/$ver/ 2> /dev/null | grep '[[:alpha:]]$' | sort -u) |
for lang in $(ls -I templates /var/lib/pootle/po/$ver/ 2> /dev/null | grep '[[:alpha:]]$' | sort -u) |
213 |
echo "$pkgs" | cut -d/ --output-delimiter " " -f8,9 | while read ver pkgname |
echo "$pkgs" | cut -d/ --output-delimiter " " -f8,9 | while read ver pkgname |
214 |
do |
do |
215 |
[[ $ver == *7 ]] && continue |
[[ $ver == *7 ]] && continue |
216 |
|
[[ $ver == *8 ]] && continue |
217 |
|
|
218 |
if [[ $ver == contribs* ]] |
if [[ $ver == contribs* ]] |
219 |
then |
then |