1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 00:20:05 -07:00

docs: update

This commit is contained in:
Dylan Araps 2019-06-13 18:11:59 +03:00
parent f49c6b295b
commit 0b867cb3d1
2 changed files with 11 additions and 7 deletions

View File

@ -2,6 +2,8 @@
Tiny package manager for KISS Linux. 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 ## Package format
See: <https://github.com/kissx/packages> See: <https://github.com/kissx/packages>

16
kiss
View File

@ -196,13 +196,15 @@ args() {
main() { main() {
trap 'rm -rf -- "$mak_dir" "$pkg_dir"' EXIT INT trap 'rm -rf -- "$mak_dir" "$pkg_dir"' EXIT INT
mkdir -p "${src_dir:=$PWD/sources}" \ [ -z "$KISS_PATH" ] && die "Set \$KISS_PATH to a repository location."
"${mak_dir:=$PWD/build}" \
"${pkg_db:=${pkg_dir:=$PWD/pkg}/var/db/$0}" \ # mkdir -p "${src_dir:=$PWD/sources}" \
"${sys_db:=${sys_dir:=$KISS_ROOT}/var/db/$0}" \ # "${mak_dir:=$PWD/build}" \
"${bin_dir:=$PWD/bin}" \ # "${pkg_db:=${pkg_dir:=$PWD/pkg}/var/db/$0}" \
"${rep_dir:=$PWD/repo}" || # "${sys_db:=${sys_dir:=$KISS_ROOT}/var/db/$0}" \
die "Couldn't create directories at $PWD." # "${bin_dir:=$PWD/bin}" \
# "${rep_dir:=$PWD/repo}" ||
# die "Couldn't create directories at $PWD."
args "$@" args "$@"
} }