diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/Makefile.am | 4 | ||||
-rw-r--r-- | etc/pacman.conf.in | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/etc/Makefile.am b/etc/Makefile.am index 733526c3..7ad9178e 100644 --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -13,6 +13,7 @@ MOSTLYCLEANFILES = $(dist_sysconf_DATA) #### Taken from the autoconf scripts Makefile.am #### edit = sed \ -e 's|@sysconfdir[@]|$(sysconfdir)|g' \ + -e 's|@localstatedir[@]|$(localstatedir)|g' \ -e 's|@prefix[@]|$(prefix)|g' \ -e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \ -e 's|@PACKAGE_NAME[@]|$(PACKAGE_NAME)|g' \ @@ -21,7 +22,8 @@ edit = sed \ -e 's|@CARCH[@]|$(CARCH)|g' \ -e 's|@CHOST[@]|$(CHOST)|g' \ -e 's|@ARCHSWITCH[@]|$(ARCHSWITCH)|g' \ - -e 's|@CARCHFLAGS[@]|$(CARCHFLAGS)|g' + -e 's|@CARCHFLAGS[@]|$(CARCHFLAGS)|g' \ + -e 's|@ROOTDIR[@]|$(ROOTDIR)|g' $(dist_sysconf_DATA): Makefile rm -f $@ $@.tmp diff --git a/etc/pacman.conf.in b/etc/pacman.conf.in index 7960b9f3..bfc4265d 100644 --- a/etc/pacman.conf.in +++ b/etc/pacman.conf.in @@ -7,7 +7,11 @@ # GENERAL OPTIONS # [options] -LogFile = /var/log/pacman.log +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 |