Commit 7a894d741ff427fe8560877d0ebbaf25039cd197

Thomas de Grivel 2023-11-05T08:44:21

Darwin

diff --git a/lib/rbpkg/repos/libbsd.rb b/lib/rbpkg/repos/libbsd.rb
index ed7e9ca..c4f2842 100644
--- a/lib/rbpkg/repos/libbsd.rb
+++ b/lib/rbpkg/repos/libbsd.rb
@@ -23,7 +23,8 @@ class Rbpkg::Repos::Libbsd < Rbpkg::Repo
   end
 
   def system_package?
-    Rbpkg.os.match?(/BSD/)
+    Rbpkg.os.match?(/BSD/) ||
+      Rbpkg.os.match?(/Darwin/)
   end
 
   repo_register
diff --git a/lib/rbpkg/repos/libmd.rb b/lib/rbpkg/repos/libmd.rb
index 41f6b11..a51c7c4 100644
--- a/lib/rbpkg/repos/libmd.rb
+++ b/lib/rbpkg/repos/libmd.rb
@@ -17,7 +17,8 @@ class Rbpkg::Repos::Libmd < Rbpkg::Repo
   end
 
   def system_package?
-    Rbpkg.os.match?(/BSD/)
+    Rbpkg.os.match?(/BSD/) ||
+      Rbpkg.os.match?(/Darwin/)
   end
 
   repo_register