Sync repo
[xfce-et.git] / update-packages.sh
blobe6174fb634dbb352ab05042034c426a32534276a
1 #!/bin/sh
3 # update-packages.sh: check for the PACKAGES in repository.
5 # Copyright (c) 2008 Peeter Vois <Peeter.Vois@proekspert.ee>
7 # This script is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU General Public License as
9 # published by the Free Software Foundation; version 2 of the
10 # License ONLY.
12 # This script is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details at:
16 # http://gnu.org/licenses/gpl.html
18 repos="xfce goodies"
20 if [ -z "$1" ]
21 then
22 echo "usage:"
23 echo "$0 <password>"
24 exit 1
27 root="https://peetervois:$1@svn.xfce.org/svn/"
29 for a in $repos
31 packages=`svn ls $root$a | sed -e 'si/iig'`
32 for b in $packages
34 result=`svn ls $root$a/$b/trunk/po 2> /dev/null | grep "ChangeLog"`
35 if [ "$result" = "ChangeLog" ]
36 then
37 echo "$a/$b"
39 done
40 done