summaryrefslogtreecommitdiff
path: root/bootstrap/bootstrap
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-11-15 11:19:09 +0000
committerjperkin <jperkin>2016-11-15 11:19:09 +0000
commit7099f97efa2dad82fee8ffd10258d61f27218aa8 (patch)
treebc3814fb025f5bbf65f62cbf249e6280e3ee524c /bootstrap/bootstrap
parentd6995cd47df0eb8ee761417b3cc85563707e3385 (diff)
downloadpkgsrc-7099f97efa2dad82fee8ffd10258d61f27218aa8.tar.gz
Change the default PKG_DBDIR to be ${LOCALBASE}/pkgdb. Resolves issues on
other BSDs which already use /var/db/pkg for the native package manager.
Diffstat (limited to 'bootstrap/bootstrap')
-rwxr-xr-xbootstrap/bootstrap4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index c8c4cd22862..72f95432f5b 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.233 2016/11/01 20:44:22 jperkin Exp $
+# $NetBSD: bootstrap,v 1.234 2016/11/15 11:19:09 jperkin Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
# All rights reserved.
@@ -487,7 +487,7 @@ elif [ -z "$prefix" -o "$prefix" = "/usr/pkg" ]; then
fi
[ -z "$varbase" ] && varbase=${prefix}/var
-[ -z "$pkgdbdir" ] && pkgdbdir=${varbase}/db/pkg
+[ -z "$pkgdbdir" ] && pkgdbdir=${prefix}/pkgdb
if [ "$prefix" = "/usr" ]; then
[ -z "$pkginfodir" ] && pkginfodir=share/info