Skip to content

Commit

Permalink
[eos-bash-shared] eos-pkg-changelog: don't show error about unsupport…
Browse files Browse the repository at this point in the history
…ed package when building (unnecessary message)
  • Loading branch information
manuel-192 committed Dec 31, 2024
1 parent a00dd6f commit 7bc657e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eos-pkg-changelog
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7bc657e

Please sign in to comment.