aboutsummaryrefslogtreecommitdiff
path: root/contrib/cpt-chbuild
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-03-12 12:22:30 +0000
committermerakor <cem@ckyln.com>2021-03-12 12:22:30 +0000
commit81e3f00288d6fdc93de2dc31c065ebe3bdb1adf5 (patch)
treec68eef3692212bb7dd6be17f44b8afbdf478b5a7 /contrib/cpt-chbuild
parentf086f31f2e7c0418d888a2db5accf78ae0e5d8e0 (diff)
downloadcpt-81e3f00288d6fdc93de2dc31c065ebe3bdb1adf5.tar.gz
docs: update
FossilOrigin-Name: fb505a8b22eb533c8857eaa002228f2c950ac1cdb4c7b314daf7b61cb25bed53
Diffstat (limited to 'contrib/cpt-chbuild')
-rwxr-xr-xcontrib/cpt-chbuild15
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/cpt-chbuild b/contrib/cpt-chbuild
index 6177e67..e53d903 100755
--- a/contrib/cpt-chbuild
+++ b/contrib/cpt-chbuild
@@ -1,5 +1,20 @@
#!/bin/sh -e
# Create/destroy temporary chroots
+
+## SYNOPSIS:
+## .Nm
+## .Op Ar pkg...
+
+## DESCRIPTION:
+## .Nm
+## creates a temporary chroot using the rootfs tarball of Carbs Linux. If the
+## tarball does
+## .Em NOT
+## exist in the user's cache directory, it will download it from the Carbs Linux
+## website. If any packages are given as arguments,
+## .Nm
+## will install those packages to this temporary chroot.
+
case "$1" in
--help|-h) printf '\033[1;33m-> \033[m%s\n' "usage: ${0##*/} [pkg...]"; exit 0
esac