From 16d9d216f17bb9572325640f40d9f29532716443 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Mon, 3 Dec 2001 13:59:05 +0000 Subject: initial revision, simple way to update a local set of medium from /RPMS. --- tools/updatehdlist | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 tools/updatehdlist (limited to 'tools/updatehdlist') 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 -- cgit v1.2.1