Revision 20148,
477 bytes
checked in by ghudson, 21 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r20147,
which included commits to RCS files with non-trunk default branches.
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | # syncs the .po files with the version in GNOME CVS. |
---|
4 | # The URL below is updated every ~4 hours. |
---|
5 | |
---|
6 | url="http://developer.gnome.org/projects/gtp/status/gnome-2.0-extras/po/xscreensaver.HEAD." |
---|
7 | |
---|
8 | for f in *.po |
---|
9 | do |
---|
10 | f2="$f.tmp" |
---|
11 | rm -f "$f2" |
---|
12 | echo -n "$f ... " |
---|
13 | wget -q -O"$f2" "$url$f" |
---|
14 | if [ ! -s "$f2" ]; then |
---|
15 | echo "not found." |
---|
16 | elif ( cmp -s "$f" "$f2" ); then |
---|
17 | echo "unchanged." |
---|
18 | else |
---|
19 | cat "$f2" > "$f" |
---|
20 | echo "updated." |
---|
21 | fi |
---|
22 | rm -f "$f2" |
---|
23 | done |
---|
24 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.