summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.am
diff options
context:
space:
mode:
authorTravis Willard <travis@archlinux.org>2007-08-27 04:42:17 +0200
committerDan McGee <dan@archlinux.org>2007-08-27 05:44:32 +0200
commitb6f89f03afcb6e1e6aa5d1c437db1df54a4baaca (patch)
treedf847f105f3ae1d830250370ca9dbdf503905c58 /scripts/Makefile.am
parent26441cf65ca10d4bf218203df5db5e8a7270787b (diff)
downloadpacman-b6f89f03afcb6e1e6aa5d1c437db1df54a4baaca.tar.gz
pacman-b6f89f03afcb6e1e6aa5d1c437db1df54a4baaca.tar.xz
separate local from sync dbs on filesystem
Introduce two new methods into the API - alpm_db_register_sync and alpm_db_register_local, which replace the functionality of alpm_db_register. db_register_local always returns the local DB, and db_register_sync will always try to register a sync DB. This conceptually separates the local DB from sync DBs in the code. Also updated the pacman frontend to use the new functions. In addition, this changes the location of all sync DBs in the filesystem from $DBPATH/$REPO to $DBPATH/sync/$REPO, This removes the silly limitation that a sync DB couldn't be named 'local', along with structurally separating sync DBs and the local DB in the filesystem. Signed-off-by: Travis Willard <travis@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/Makefile.am')
0 files changed, 0 insertions, 0 deletions