diff options
author | Dan McGee <dan@archlinux.org> | 2007-05-31 08:51:28 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-05-31 08:51:28 +0200 |
commit | 7bd2ff685188d0d9b6ab6c6f43f6d28811936881 (patch) | |
tree | 30bbb96d2bbb8a6c63d9f7e7e6ac1c8b4b818148 /src/pacman/add.c | |
parent | 722db4535ae6690d8834ffebf3a0de3a880188f9 (diff) | |
download | pacman-7bd2ff685188d0d9b6ab6c6f43f6d28811936881.tar.gz pacman-7bd2ff685188d0d9b6ab6c6f43f6d28811936881.tar.xz |
Move DB and cache dirs away from there dependence on ROOTDIR
This change allows us to use all autoconf specified paths, most notably
$(localstatedir). It is quite a change and touches a lot of files, as
all references to the DB and cache were done with the ROOTDIR as a prefix.
* add --lock command-line option to pacman to specify the location of the
lockfile (this can now be specified at configure time by setting the
$localstatedir path).
* Rip quite a few settings out of configure.ac as they are now picked by
setting the paths during configure or make.
* Fix bug with /tmp fallback for sync downloads not working correctly
(related to root location, now the system tmp dir is used).
* Simplified the parameters to some libalpm functions, and added get/set
for the new lockfile option.
* Renamed several of the DEFS to names without the PM_ prefix.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/add.c')
-rw-r--r-- | src/pacman/add.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pacman/add.c b/src/pacman/add.c index cf636234..ef84a398 100644 --- a/src/pacman/add.c +++ b/src/pacman/add.c @@ -95,8 +95,7 @@ int pacman_add(alpm_list_t *targets) if(pm_errno == PM_ERR_HANDLE_LOCK) { /* TODO this and the 2 other places should probably be on stderr */ printf(_(" if you're sure a package manager is not already\n" - " running, you can remove %s%s.\n"), - alpm_option_get_root(), PM_LOCK); + " running, you can remove %s.\n"), LOCKFILE); } return(1); } |