summaryrefslogtreecommitdiffstats
path: root/src/pacman/add.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-06-04 16:37:00 +0200
committerDan McGee <dan@archlinux.org>2007-06-04 23:00:30 +0200
commitd9ff7bbcd2eef852f18ad65d79aa6b6f7c58535c (patch)
tree1f8fb2f1b794906300ca14ac68b592136a898de1 /src/pacman/add.c
parenta094deacf4f6abbef10c6acf38190d4fa9d34f0e (diff)
downloadpacman-d9ff7bbcd2eef852f18ad65d79aa6b6f7c58535c.tar.gz
pacman-d9ff7bbcd2eef852f18ad65d79aa6b6f7c58535c.tar.xz
Remove hardcoded defines from libalpm
Remove any use of the former path variables defined by the Makefiles or config.h. These are now runtime configurable only with pacman.conf (or by using flags on the command line). Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/add.c')
-rw-r--r--src/pacman/add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/add.c b/src/pacman/add.c
index ef84a398..526b236b 100644
--- a/src/pacman/add.c
+++ b/src/pacman/add.c
@@ -95,7 +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.\n"), LOCKFILE);
+ " running, you can remove %s.\n"), alpm_option_get_lockfile());
}
return(1);
}