aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-08-01 08:03:25 +0000
committermerakor <cem@ckyln.com>2021-08-01 08:03:25 +0000
commitcd8de7582a0b15051e19bed32c446fe4c1fa7b87 (patch)
tree2488313821aa9c83a07f591a21af012c00ba6887
parent8918c09f040c72aa3dd7fb89b5ad4866c6da74a0 (diff)
downloadcpt-cd8de7582a0b15051e19bed32c446fe4c1fa7b87.tar.gz
docs: update
FossilOrigin-Name: 08e3758a7661ddcf753bf87a92e229bc332be621d451de19bbf25c5156d43616
-rw-r--r--src/cpt-lib.in14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/cpt-lib.in b/src/cpt-lib.in
index 092ae0d..a53d708 100644
--- a/src/cpt-lib.in
+++ b/src/cpt-lib.in
@@ -9,7 +9,9 @@
# Currently maintained by Cem Keylan.
version() {
- log "Carbs Packaging Tools" @VERSION@
+ out "Carbs Packaging Tools, version @VERSION@" \
+ @LICENSE@
+
exit 0
}
@@ -2161,11 +2163,13 @@ create_cache() {
command -v llvm-readelf ||
command -v eu-readelf)"} || elf_prog=ldd
+ # Use one of the following programs to download package sources. Downloads
+ # are made using the `pkg_download()` function.
dl_prog=${CPT_DOWNLOADER:="$(
- command -v curl ||
- command -v wget ||
- command -v wget2 ||
- command -v axel ||
+ command -v curl ||
+ command -v wget ||
+ command -v wget2 ||
+ command -v axel ||
command -v aria2c)"} || dl_prog=curl
# Make note of the user's current ID to do root checks later on.