diff --git a/configure.ac b/configure.ac index c26ead5..c65b583 100644 --- a/configure.ac +++ b/configure.ac @@ -55,7 +55,7 @@ AC_ARG_ENABLE(assume-broken-pkgdb,AC_HELP_STRING([--enable-assume-broken-pkgdb], [Compile with support for broken package databases that may contain non-normalized paths with multiple slashes. This doubles time necessary to load file database. To see if you need to enable this option, check paths in your -package database with 'grep // /var/log/packages/*' command.])) +package database with 'grep // /var/lib/pkgtools/packages/*' command.])) AM_CONDITIONAL(ENABLE_ASSUME_BROKEN_PKGDB, test "x$enable_assume_broken_pkgdb" = xyes) diff --git a/docs/spkg.8 b/docs/spkg.8 index 3ea3557..ebffccb 100644 --- a/docs/spkg.8 +++ b/docs/spkg.8 @@ -110,7 +110,7 @@ Show long help. Display spkg version. .CM =========================================================================== .SH FILES -.IP "/var/log/{packages,scripts}" +.IP "/var/lib/pkgtools/{packages,scripts}" Package database. .SH EXAMPLES .TP diff --git a/src/pkgdb.c b/src/pkgdb.c index 5a521ef..d8a5ffd 100644 --- a/src/pkgdb.c +++ b/src/pkgdb.c @@ -36,8 +36,8 @@ struct db_state { gboolean filelist_loaded; gboolean readonly; gchar* topdir; - gchar* pkgdir; /* /var/log/packages/ */ - gchar* scrdir; /* /var/log/scripts/ */ + gchar* pkgdir; /* /var/lib/pkgtools/packages/ */ + gchar* scrdir; /* /var/lib/pkgtools/scripts/ */ struct error* err; void* paths; gint fd_lock;