From 71ad5c5f053395e6576c6d93c513432c13b910fa Mon Sep 17 00:00:00 2001 From: Yohan Belval Date: Wed, 6 Nov 2019 10:20:32 -0500 Subject: [PATCH] examples: lang: Added os check for pkg example fix --- examples/lang/pkg1.mcl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/lang/pkg1.mcl b/examples/lang/pkg1.mcl index 7c4e5725..c70543e0 100644 --- a/examples/lang/pkg1.mcl +++ b/examples/lang/pkg1.mcl @@ -1,4 +1,6 @@ +import "os" + pkg "cowsay" { state => "installed", - allowunsupported => true, + allowunsupported => os.is_debian() ?: true, }