summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2018-03-31 17:22:39 +0200
committerGuillem Jover <guillem@debian.org>2018-05-03 01:43:17 +0200
commit5cc92fcf27b65c069a7e21da491debb0afa692a4 (patch)
tree834438583b470d28c196bc056a05f48f09834869
parent94728ead2cc22af5043b16483aab1e4f5a50223c (diff)
downloaddpkg-5cc92fcf27b65c069a7e21da491debb0afa692a4.tar.gz
Dpkg: Fix default DATADIR
Even though we always override it from the build system the default pathname got out-of-sync with the repository when the architecture tables got moved into the data directory. Fixes: commit 97309bef8b664c2d58cb689a3e82848021ae9bad
-rw-r--r--scripts/Dpkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Dpkg.pm b/scripts/Dpkg.pm
index 0d171c080..7f06b15e6 100644
--- a/scripts/Dpkg.pm
+++ b/scripts/Dpkg.pm
@@ -107,7 +107,7 @@ our $PROGPATCH = $ENV{DPKG_PROGPATCH} // 'patch';
our $CONFDIR = '/etc/dpkg';
our $ADMINDIR = '/var/lib/dpkg';
our $LIBDIR = '.';
-our $DATADIR = '..';
+our $DATADIR = '../data';
$DATADIR = $ENV{DPKG_DATADIR} if defined $ENV{DPKG_DATADIR};