From cd8de7582a0b15051e19bed32c446fe4c1fa7b87 Mon Sep 17 00:00:00 2001 From: merakor Date: Sun, 1 Aug 2021 08:03:25 +0000 Subject: docs: update FossilOrigin-Name: 08e3758a7661ddcf753bf87a92e229bc332be621d451de19bbf25c5156d43616 --- src/cpt-lib.in | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src') 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. -- cgit v1.2.3