diff --git a/pkg/omf/functions/bundle/omf.bundle.install.fish b/pkg/omf/functions/bundle/omf.bundle.install.fish index 7518390..5f33401 100644 --- a/pkg/omf/functions/bundle/omf.bundle.install.fish +++ b/pkg/omf/functions/bundle/omf.bundle.install.fish @@ -17,9 +17,16 @@ function omf.bundle.install test -n "$name_or_url"; or continue set name (omf.packages.name $name_or_url) - if not contains $name $packages omf.packages.install $name_or_url; + and begin + test $type = package + and begin + require $name + or echo "Failed to require package: $name" + end + or true + end or set error end end