mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-09-28 12:22:39 -06:00
kiss-chbuild: Allow packages passed on the command-line. Closes #153
This commit is contained in:
parent
d73cb5b463
commit
a7f9204ecf
@ -31,5 +31,8 @@ cd "${cac_dir:=$KISS_ROOT${XDG_CACHE_HOME:-$HOME/.cache}/kiss}"
|
||||
log "Creating temporary chroot"
|
||||
cp -a kiss-chroot "chroot-$$"
|
||||
|
||||
log "Installing any arguments"
|
||||
[ ! "$1" ] || KISS_ROOT=$PWD/chroot-$$ kiss i "$@"
|
||||
|
||||
log "Entering chroot"
|
||||
su -c "kiss-chroot chroot-$$; rm -rf chroot-$$"
|
||||
|
Loading…
Reference in New Issue
Block a user