summaryrefslogtreecommitdiffstats
path: root/scripts/pacman-optimize.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pacman-optimize.in')
-rw-r--r--scripts/pacman-optimize.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/pacman-optimize.in b/scripts/pacman-optimize.in
index aaae6d24..3f7f51f7 100644
--- a/scripts/pacman-optimize.in
+++ b/scripts/pacman-optimize.in
@@ -26,9 +26,8 @@ export TEXTDOMAIN='pacman'
export TEXTDOMAINDIR='@localedir@'
myver='@PACKAGE_VERSION@'
-# TODO fix these paths
-dbroot='@ROOTDIR@@DBPATH@'
-lockfile='@ROOTDIR@@LOCKFILE@'
+dbroot='@localstatedir@/lib/pacman/'
+lockfile='@localstatedir@/run/pacman.lck'
msg() {
local mesg=$1; shift