diff options
Diffstat (limited to 'expac.c')
-rw-r--r-- | expac.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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); } } |