Add a default case to the switch/case statement in
latex-package_src_doinstall, invoking die.

Signed-off-by: Florian Schmaus <f...@gentoo.org>
---
 eclass/latex-package.eclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass
index d6426775f720..dfef7fc2836f 100644
--- a/eclass/latex-package.eclass
+++ b/eclass/latex-package.eclass
@@ -200,6 +200,9 @@ latex-package_src_doinstall() {
                        "all")
                                latex-package_src_doinstall styles fonts bin doc
                                ;;
+                       *)
+                               die "Unknown module: ${1}"
+                               ;;
                esac
        shift
        done
-- 
2.45.2


Reply via email to