forked from kiss-community/kiss
kiss: use normal messages for sources
This commit is contained in:
parent
6c7033ad19
commit
07d30c219b
10
kiss
10
kiss
@ -207,13 +207,13 @@ pkg_sources() {
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
elif [ -z "${src##git+*}" ]; then
|
elif [ -z "${src##git+*}" ]; then
|
||||||
log "$1" "Found git source '${src##git+}'"
|
printf 'found git %s\n' "${src##git+}"
|
||||||
|
|
||||||
elif [ -f "${src##*/}" ]; then
|
elif [ -f "${src##*/}" ]; then
|
||||||
log "$1" "Found cached source '${src##*/}'"
|
printf 'found cached %s\n' "${src##*/}"
|
||||||
|
|
||||||
elif [ -z "${src##*://*}" ]; then
|
elif [ -z "${src##*://*}" ]; then
|
||||||
log "$1" "Downloading $src"
|
printf 'downloading %s\n' "$src"
|
||||||
|
|
||||||
curl "$src" -fLo "${src##*/}" || {
|
curl "$src" -fLo "${src##*/}" || {
|
||||||
rm -f "${src##*/}"
|
rm -f "${src##*/}"
|
||||||
@ -221,10 +221,10 @@ pkg_sources() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
elif [ -e "$repo_dir/$src" ]; then
|
elif [ -e "$repo_dir/$src" ]; then
|
||||||
log "$1" "Found local relative source '$src'"
|
printf 'found relative %s\n' "$src"
|
||||||
|
|
||||||
elif [ -e "/$src" ]; then
|
elif [ -e "/$src" ]; then
|
||||||
log "$1" "Found local absolute source '$src'"
|
printf 'found absolute %s\n' "$src"
|
||||||
|
|
||||||
else
|
else
|
||||||
die "$1" "No local file '$src'"
|
die "$1" "No local file '$src'"
|
||||||
|
Loading…
Reference in New Issue
Block a user