kiss: Supress error in pkg_install() as we have our own

This commit is contained in:
Dylan Araps 2020-04-18 10:26:29 +03:00
parent 75c9785d39
commit afda171053
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 1 deletions

2
kiss
View File

@ -946,7 +946,7 @@ pkg_install() {
if [ -f "$1" ] && [ -z "${1%%*.tar.*}" ] ; then
tar_file=$1 pkg_name=${1##*/} pkg_name=${pkg_name%#*}
elif pkg_cache "$1"; then
elif pkg_cache "$1" 2>/dev/null; then
pkg_name=$1
else