1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00
pacman/scripts
Dan McGee 7f14f185a2 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>
2009-09-23 21:15:53 -05:00
..
.gitignore Add pkgdelta script to create deltas. 2009-03-15 18:10:15 +01:00
Makefile.am makepkg: make in-place sed portable 2009-04-26 09:22:23 -05:00
makepkg.sh.in String improvements 2009-09-16 19:36:49 -05:00
pacman-optimize.sh.in Update copyright headers and messages 2009-07-01 02:08:33 -05:00
pkgdelta.sh.in Add pkgdelta script to create deltas. 2009-03-15 18:10:15 +01:00
rankmirrors.py.in Update copyright headers and messages 2009-07-01 02:08:33 -05:00
repo-add.sh.in repo-remove: create empty DB when all packages are removed 2009-09-23 21:15:53 -05:00