forked from kiss-community/kiss
pkg_find_version: silence stderr
This commit is contained in:
parent
49b2b72cd8
commit
0c1d4cbcf5
2
kiss
2
kiss
@ -173,7 +173,7 @@ pkg_lint() {
|
|||||||
pkg_find_version() {
|
pkg_find_version() {
|
||||||
pkg_find "$1"
|
pkg_find "$1"
|
||||||
|
|
||||||
read -r repo_ver repo_rel < "$repo_dir/version" ||
|
read -r repo_ver repo_rel 2>/dev/null < "$repo_dir/version" ||
|
||||||
die "$1" "Failed to read version file ($repo_dir/version)"
|
die "$1" "Failed to read version file ($repo_dir/version)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user