diff options
author | Nathan Jones <nathanj@insightbb.com> | 2007-11-12 22:54:50 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-11-13 07:13:21 +0100 |
commit | c29209e7b6555b140794ffb6907fbd33f0d0aa88 (patch) | |
tree | 63e8f027832b633b174be7c007f816432923a9db /lib/libalpm/db.c | |
parent | 103c3ac5a789dc0ec9855c18800a0616940351b1 (diff) | |
download | pacman-c29209e7b6555b140794ffb6907fbd33f0d0aa88.tar.gz pacman-c29209e7b6555b140794ffb6907fbd33f0d0aa88.tar.xz |
repo-add: Ensure only adding package's deltas.
repo-add was adding the delta files of any package that started with the
same package name plus a hyphen.
In this example, deltatest-libs delta files were added to the deltatest
package:
$ repo-add deltatest.db.tar.gz deltatest-1.0.2-1-i686.pkg.tar.gz
==> Extracting database to a temporary location...
==> Adding package 'deltatest-1.0.2-1-i686.pkg.tar.gz'
-> Removing existing package 'deltatest-1.0.2-1'...
-> Creating 'desc' db entry...
-> Computing md5 checksums...
-> Creating 'depends' db entry...
-> Creating 'deltas' db entry...
-> Added delta 'deltatest-1.0.2rc3-1_to_1.0.2-1-i686.delta'
-> Added delta 'deltatest-libs-1.0.0-1_to_1.0.1-1-i686.delta'
==> Creating updated database file /tmp/deltatest.db.tar.gz
Signed-off-by: Nathan Jones <nathanj@insightbb.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.c')
0 files changed, 0 insertions, 0 deletions