summaryrefslogtreecommitdiff
path: root/submitting-patches
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2009-01-19 22:54:00 +0100
committerXavier Chantry <shiningxc@gmail.com>2009-01-20 14:07:15 +0100
commit34e1413d756269dcd71a32dd5d2dbb263a943051 (patch)
treef3bce1b380c1c2fceb23a8b2968b4a75c4bbd732 /submitting-patches
parent14230869e6a37526f8a1bdb1fb88f23309b10aef (diff)
Delay the creation of local and sync db dir.
We don't need to create the directories when local or sync dbs are registered. For example, if a sync db does not exist, we cannot even do "pacman -Q" as an user. Instead, we can create the local db if needed during the db_prepare operation, and sync dbs on db_update. Also remove some more useless abstractions in db_update and switch to a much more efficient way to remove a sync db : rm -rf. Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Diffstat (limited to 'submitting-patches')
0 files changed, 0 insertions, 0 deletions