From 289b75d576430489815fae564e4d9086ff270cb2 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Sat, 31 Dec 2005 17:03:48 +0000 Subject: used defines from alpm.h instead of local ones (patch from VMiklos ) --- src/pacman/pacman.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pacman/pacman.c') diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index b6ab6140..3f085a8b 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -122,7 +122,7 @@ int main(int argc, char *argv[]) } if(config->root == NULL) { - config->root = strdup(PACROOT); + config->root = strdup(PM_ROOT); } /* add a trailing '/' if there isn't one */ @@ -148,10 +148,10 @@ int main(int argc, char *argv[]) cleanup(1); } if(config->dbpath == NULL) { - config->dbpath = strdup(PACDB); + config->dbpath = strdup(PM_DBPATH); } if(config->cachedir == NULL) { - config->cachedir = strdup(PACCACHE); + config->cachedir = strdup(PM_CACHEDIR); } /* set library parameters */ -- cgit v1.2.3