cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 1169b3695cd7077f2dd66c558b1fecf868cda5e8
parent b9a7a81974c75c95b59a3587666e8ca8f4c1d72d
Author: Cem Keylan <cem@ckyln.com>
Date:   Thu, 14 May 2020 13:44:26 +0300

kiss: don't create pkg_db on KISS_ROOT automatically

Co-authored-by: Dylan Araps <dylan.araps@gmail.com>

Diffstat:
Mkiss | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 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.