summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-03-21 14:25:10 -0400
committerDave Reisner <d@falconindy.com>2011-03-21 14:25:26 -0400
commit6605d32bd560c1ec71b5d6bc543ddb796d444f76 (patch)
treec166aad76c5193f1e6b7c541256cb3a26fe76c0b
parentd1a229a4d17f29a5ebda65c0627bf1493d6ea3ba (diff)
downloadexpac-6605d32bd560c1ec71b5d6bc543ddb796d444f76.tar.xz
don't parse RootDir directive
-rw-r--r--expac.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/expac.c b/expac.c
index d2558a1..cdeead8 100644
--- a/expac.c
+++ b/expac.c
@@ -152,9 +152,7 @@ static int alpm_init() {
strsep(&ptr, "=");
strtrim(key);
strtrim(ptr);
- if (strcmp(key, "RootDir") == 0) {
- alpm_option_set_root(ptr);
- } else if (strcmp(key, "DBPath") == 0) {
+ if (strcmp(key, "DBPath") == 0) {
alpm_option_set_dbpath(ptr);
}
}