From 04759ca498fc902a1a81b81d8457bb01587ab6a0 Mon Sep 17 00:00:00 2001 From: manuel Date: Sat, 21 Dec 2024 13:22:06 +0200 Subject: [PATCH] eos-pkg-changelog: a small fix to problem handling --- eos-pkg-changelog | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eos-pkg-changelog b/eos-pkg-changelog index 00b07ab..1e4a214 100755 --- a/eos-pkg-changelog +++ b/eos-pkg-changelog @@ -42,7 +42,11 @@ Parameters() { INFO "reading $clfile..." source "$clfile" || DIE "reading $clfile failed" else - [ "$REPONAME" = endeavouros ] && WARN "$clfile not found" || DIE "$clfile not found" + case "$REPONAME" in + endeavouros) WARN "$clfile not found" ;; + "") INFO "using prefedined EndeavourOS changelog definitions" ;; + *) DIE "$clfile not found" ;; + esac fi ;; --parameters)