mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-24 16:10:05 -07:00
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
|
||||
|
||||
elif [ -z "${src##git+*}" ]; then
|
||||
log "$1" "Found git source '${src##git+}'"
|
||||
printf 'found git %s\n' "${src##git+}"
|
||||
|
||||
elif [ -f "${src##*/}" ]; then
|
||||
log "$1" "Found cached source '${src##*/}'"
|
||||
printf 'found cached %s\n' "${src##*/}"
|
||||
|
||||
elif [ -z "${src##*://*}" ]; then
|
||||
log "$1" "Downloading $src"
|
||||
printf 'downloading %s\n' "$src"
|
||||
|
||||
curl "$src" -fLo "${src##*/}" || {
|
||||
rm -f "${src##*/}"
|
||||
@ -221,10 +221,10 @@ pkg_sources() {
|
||||
}
|
||||
|
||||
elif [ -e "$repo_dir/$src" ]; then
|
||||
log "$1" "Found local relative source '$src'"
|
||||
printf 'found relative %s\n' "$src"
|
||||
|
||||
elif [ -e "/$src" ]; then
|
||||
log "$1" "Found local absolute source '$src'"
|
||||
printf 'found absolute %s\n' "$src"
|
||||
|
||||
else
|
||||
die "$1" "No local file '$src'"
|
||||
|
Loading…
Reference in New Issue
Block a user