diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/updatehdlist | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/updatehdlist b/tools/updatehdlist new file mode 100755 index 000000000..bdd9a4e5c --- /dev/null +++ b/tools/updatehdlist @@ -0,0 +1,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
\ No newline at end of file |