diff options
author | Dan McGee <dan@archlinux.org> | 2009-09-23 21:15:53 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-09-23 21:15:53 -0500 |
commit | 7f14f185a2d05650e1f99f4ec40d60b597e8b0c7 (patch) | |
tree | 4790c21396586a7f61f7d78350bdba0e35e18c43 /pactest/tests/provision020.py | |
parent | 20aa17c276c35e08c7a8e2aa20410b99a20f8129 (diff) | |
download | pacman-7f14f185a2d05650e1f99f4ec40d60b597e8b0c7.tar.xz |
repo-remove: create empty DB when all packages are removed
Rather than creating no database at all, create an empty zipped tar archive
in its place. This keeps the download side of repositories a bit more sane
as a DB will always exist, and pacman handles this empty case just fine.
For this to be fully transparent, we also need to make sure repo-add and
repo-remove accept an empty "DB" as an argument, which in reality is a
completely void of files .tar.{gz,bz2,xz} archive.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests/provision020.py')
0 files changed, 0 insertions, 0 deletions