Skip to content

Commit

Permalink
Update package database directories
Browse files Browse the repository at this point in the history
  • Loading branch information
gapan committed May 24, 2022
1 parent 3252ff9 commit d05df99
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion docs/spkg.8
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/pkgdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d05df99

Please sign in to comment.