summaryrefslogtreecommitdiffstats
path: root/tools/updatehdlist
blob: aa59d3f8344a809e165c600d2b205274e357b7fb (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*
gendistrib --noclean --distrib $topdir