From 7bc657eed12c7461c7b347f6487059db1b2013df Mon Sep 17 00:00:00 2001 From: manuel Date: Wed, 1 Jan 2025 01:14:53 +0200 Subject: [PATCH] [eos-bash-shared] eos-pkg-changelog: don't show error about unsupported package when building (unnecessary message) --- eos-pkg-changelog | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eos-pkg-changelog b/eos-pkg-changelog index 8a18dcf..abe80b5 100755 --- a/eos-pkg-changelog +++ b/eos-pkg-changelog @@ -157,7 +157,9 @@ HandlePkgnames() { for pkgname in "${pkgnames[@]}" ; do changelog_url="${PKG_CHANGELOGS[$pkgname]}" - [ "$changelog_url" ] || DIE "package name '$pkgname' is not supported" + if [ -z "$changelog_url" ] ; then + [ "$quiet" = no ] && DIE "package name '$pkgname' is not supported" || exit 1 + fi if [ "$REPONAME" = endeavouros ] ; then case "$preferred_site" in