1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-10 19:45:01 -05:00
pacman/scripts
Dan McGee 84974ed04c repo-add: fix db creation one last time
We fubar-ed this pretty good.

1. The whole old/new move shuffle was totally busted if you used a
relative path to your database, as we would just build the database in
place.
2. Our prior temp directory layout had the database files extracted
directly into it. When we tried to create a xxx.db.tar.gz file in this
same directory, due to the fact that we were no longer using a shell
wildcard, we tried to include the db in ourself, which is a big failure.
Fix all this by extracting to tree/ so we can have a clean top-level
temp directory.
3. Fix the inclusion of the './' directory entry; ensure the regex
prunes both leading paths of '.' as well as './'.

Where is that test suite again?

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-30 10:29:55 -05:00
..
library parse-options: simplify unused-arg & parameter printing 2011-06-24 00:02:06 -05:00
po scripts/po/: add pacman-key 2011-06-23 22:55:57 -05:00
.gitignore pacman-key: keyring management tool 2011-03-23 01:59:42 -05:00
Makefile.am pacman-optimize: use output library 2011-06-27 13:30:41 -05:00
makepkg.sh.in makepkg: only source user override if using default config file 2011-06-30 10:29:49 -05:00
pacman-db-upgrade.sh.in po/: split into scripts/po/ and src/pacman/po/ 2011-06-23 22:50:01 -05:00
pacman-key.sh.in po/: split into scripts/po/ and src/pacman/po/ 2011-06-23 22:50:01 -05:00
pacman-optimize.sh.in pacman-optimize: use output library 2011-06-27 13:30:41 -05:00
pkgdelta.sh.in po/: split into scripts/po/ and src/pacman/po/ 2011-06-23 22:50:01 -05:00
rankmirrors.sh.in Fix bash shell location check 2010-10-13 17:50:54 -05:00
repo-add.sh.in repo-add: fix db creation one last time 2011-06-30 10:29:55 -05:00