~ubuntu-langpack/langpack-o-matic/main

« back to all changes in this revision

Viewing changes to testbuilds

  • Committer: martin at piware
  • Date: 2006-03-31 16:46:38 UTC
  • Revision ID: martin@piware.de-20060331164638-a0b6ed2926666a3c
combined changes from breezy to head from old revision control

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
 
 
3
LANGS="de en fr es"
 
4
 
 
5
[ "$1" ] || {
 
6
    echo "Usage: $0 <release>"
 
7
    exit 0
 
8
}
 
9
 
 
10
RELEASE="$1"
 
11
 
 
12
[ -d /srv/language-packs.ubuntu.com/$RELEASE ] || {
 
13
    echo "Invalid release: $RELEASE" >&2
 
14
    exit 1
 
15
}
 
16
 
 
17
rm -f /srv/language-packs.ubuntu.com/$RELEASE/sources-{base,update}/*.{deb,changes,build}
 
18
 
 
19
for l in $LANGS; do
 
20
    for class in "$l" "gnome-$l" "kde-$l"; do
 
21
        cd /srv/language-packs.ubuntu.com/$RELEASE/sources-base/language-pack-$class-base
 
22
        debuild -us -uc -b
 
23
        debclean
 
24
        cd /srv/language-packs.ubuntu.com/$RELEASE/sources-update/language-pack-$class
 
25
        debuild -us -uc -b
 
26
        debclean
 
27
    done
 
28
done