diff options
author | Francois Pons <fpons@mandriva.com> | 2001-12-03 13:59:05 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-12-03 13:59:05 +0000 |
commit | 16d9d216f17bb9572325640f40d9f29532716443 (patch) | |
tree | 8d11d7f18549c6b3784f4b800071eee24a1fc3cb | |
parent | ec854330f6b480e551270614e4ee63de63e6ca38 (diff) | |
download | drakx-backup-do-not-use-16d9d216f17bb9572325640f40d9f29532716443.tar drakx-backup-do-not-use-16d9d216f17bb9572325640f40d9f29532716443.tar.gz drakx-backup-do-not-use-16d9d216f17bb9572325640f40d9f29532716443.tar.bz2 drakx-backup-do-not-use-16d9d216f17bb9572325640f40d9f29532716443.tar.xz drakx-backup-do-not-use-16d9d216f17bb9572325640f40d9f29532716443.zip |
initial revision, simple way to update a local set of medium from /RPMS.
-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 |