summaryrefslogtreecommitdiffstats
path: root/tools/updatehdlist
blob: f8acf4991812af5539b982699cddf33c536e5557 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

topdir=$1
[ -d "$topdir" ] || topdir=/export
[ -d "$topdir" ] || exit 1
add=$topdir/Mandrake/RPMS2
[ -d "$add" ] || add=$topdir/Mandrake/RPMS

./syncrpms --verbose --clean --update --remove --add $add --from /RPMS --to $topdir/Mandrake/{RPMS,RPMS2}
gendistrib --noclean --distrib $topdir