From 6a4e02766624574ddbafe87472afd1a47de8e090 Mon Sep 17 00:00:00 2001 From: merakor Date: Thu, 14 May 2020 10:44:26 +0000 Subject: kiss: don't create pkg_db on KISS_ROOT automatically Co-authored-by: Dylan Araps FossilOrigin-Name: c74e5fc121ff76fe6c89909ecdcbbba78c4fd027fa08746169668ee3d0f7f992 --- kiss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kiss b/kiss index b24a422..6a61ea5 100755 --- a/kiss +++ b/kiss @@ -1584,9 +1584,13 @@ main() { KISS_ROOT=${KISS_ROOT%/} } + # Define this variable but don't create its directory structure from + # the get go. It will be created as needed by package installation. + sys_db=$KISS_ROOT/$pkg_db + # This allows for automatic setup of a KISS chroot and will # do nothing on a normal system. - mkdir -p "${sys_db:=$KISS_ROOT/$pkg_db}" 2>/dev/null ||: + mkdir -p "$KISS_ROOT/" 2>/dev/null ||: # A temporary directory can be specified apart from the cache # directory in order to build in a user specified directory. -- cgit v1.2.3