mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 08:18:51 -05:00
a094deacf4
Move the defaults for RootDir, CacheDir, DBPath, and LockFile into pacman.conf, just as LogFile was done before. Add a section to alpm_parse_config to look for a LockFile directive. Signed-off-by: Dan McGee <dan@archlinux.org>
50 lines
1.4 KiB
PacmanConf
50 lines
1.4 KiB
PacmanConf
#
|
|
# @sysconfdir@/pacman.conf
|
|
#
|
|
# See the pacman manpage for option directives
|
|
|
|
#
|
|
# GENERAL OPTIONS
|
|
#
|
|
[options]
|
|
RootDir = @ROOTDIR@
|
|
DBPath = @localstatedir@/lib/pacman/
|
|
CacheDir = @localstatedir@/cache/pacman/pkg/
|
|
LockFile = @localstatedir@/run/pacman.lck
|
|
LogFile = @localstatedir@/log/pacman.log
|
|
HoldPkg = pacman glibc
|
|
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
|
|
|
|
#
|
|
# REPOSITORIES
|
|
# - can be defined here or included from another file
|
|
# - pacman will search repositories in the order defined here
|
|
# - local/custom mirrors can be added here or in separate files
|
|
# - repositories listed first will take precedence when packages
|
|
# have identical names, regardless of version number
|
|
#
|
|
#[testing]
|
|
#Include = @sysconfdir@/pacman.d/testing
|
|
|
|
[current]
|
|
# Add your preferred servers here, they will be used first
|
|
Include = @sysconfdir@/pacman.d/current
|
|
|
|
[extra]
|
|
# Add your preferred servers here, they will be used first
|
|
Include = @sysconfdir@/pacman.d/extra
|
|
|
|
[community]
|
|
# Add your preferred servers here, they will be used first
|
|
Include = @sysconfdir@/pacman.d/community
|
|
|
|
#[unstable]
|
|
# Add your preferred servers here, they will be used first
|
|
#Include = @sysconfdir@/pacman.d/unstable
|
|
|
|
# An example of a custom package repository. See the pacman manpage for
|
|
# tips on creating your own repositories.
|
|
#[custom]
|
|
#Server = file:///home/custompkgs
|
|
|