From 31ee8f28e2b9308edbd6cd929d3723d2b978deda Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Thu, 13 Jun 2019 15:11:59 +0000 Subject: docs: update FossilOrigin-Name: 4f56bb689416013c032d1e28783db2809600a59af75976d39b495b5ea5ec5d31 --- README.md | 2 ++ kiss | 16 +++++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index ef64fd7..6d48ea8 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ Tiny package manager for KISS Linux. +**NOTE:** I am in the process of adding multi-repository support and the package manager is currently in a non-working state. + ## Package format See: diff --git a/kiss b/kiss index 960f39d..fae7450 100755 --- a/kiss +++ b/kiss @@ -196,13 +196,15 @@ args() { main() { trap 'rm -rf -- "$mak_dir" "$pkg_dir"' EXIT INT - mkdir -p "${src_dir:=$PWD/sources}" \ - "${mak_dir:=$PWD/build}" \ - "${pkg_db:=${pkg_dir:=$PWD/pkg}/var/db/$0}" \ - "${sys_db:=${sys_dir:=$KISS_ROOT}/var/db/$0}" \ - "${bin_dir:=$PWD/bin}" \ - "${rep_dir:=$PWD/repo}" || - die "Couldn't create directories at $PWD." + [ -z "$KISS_PATH" ] && die "Set \$KISS_PATH to a repository location." + + # mkdir -p "${src_dir:=$PWD/sources}" \ + # "${mak_dir:=$PWD/build}" \ + # "${pkg_db:=${pkg_dir:=$PWD/pkg}/var/db/$0}" \ + # "${sys_db:=${sys_dir:=$KISS_ROOT}/var/db/$0}" \ + # "${bin_dir:=$PWD/bin}" \ + # "${rep_dir:=$PWD/repo}" || + # die "Couldn't create directories at $PWD." args "$@" } -- cgit v1.2.3