diff options
Diffstat (limited to 'expac.c')
-rw-r--r-- | expac.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -106,7 +106,11 @@ static int alpm_init() { return(ret); } +#ifdef _HAVE_ALPM_DB_REGISTER_LOCAL db_local = alpm_db_register_local(); +#else + db_local = alpm_option_get_localdb(); +#endif if (!db_local) { return(1); } |