cpt

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

commit c1058a80fa491280baed315ce262d8791c16099f
parent 82a2524287823531aa06d58bab14e85ae05193de
Author: Cem Keylan <cem@ckyln.com>
Date:   Wed, 18 Mar 2020 15:08:35 +0300

modify kiss-chbuild

Diffstat:
Mcontrib/kiss-chbuild | 13++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/contrib/kiss-chbuild b/contrib/kiss-chbuild @@ -8,27 +8,26 @@ log() { clean() { log "Destroying chroot" - su -c "rm -rf chroot-$pid" || clean } pid=$$ -url=https://github.com/kisslinux/repo/releases/download/1.9.0/ cd "${cac_dir:=$KISS_ROOT${XDG_CACHE_HOME:-$HOME/.cache}/kiss}" -[ -f kiss-chroot.tar.xz ] || { +[ -f carbs-rootfs.tar.xz ] || { log "Downloading chroot tarball" - wget "$url/kiss-chroot.tar.xz" + wget https://dl.carbslinux.org/releases/carbs-rootfs.tar.xz } -[ -d kiss-chroot ] || { +[ -d carbs-chroot ] || { log "Extracting chroot" - tar xvf kiss-chroot.tar.xz + mkdir -p carbs-chroot + tar xvf carbs-rootfs.tar.xz -C carbs-chroot } log "Creating temporary chroot" -cp -a kiss-chroot "chroot-$pid" +cp -a carbs-chroot "chroot-$pid" trap clean EXIT INT