commit af4ed98da16633fcedf6031a0c3ee8c50dbcfdfd
Author: John Stowers <john.stowers@gmail.com>
Date:   Fri Jul 29 16:38:09 2011 +1200

    Add DummySystemInstall
    
    Doesn't actually install new packages, but allows the sysdeps
    command to detect existing installed ones

diff --git a/jhbuild/utils/systeminstall.py b/jhbuild/utils/systeminstall.py
index 684ca0d..8165a34 100644
--- a/jhbuild/utils/systeminstall.py
+++ b/jhbuild/utils/systeminstall.py
@@ -138,8 +138,16 @@ class PKSystemInstall(SystemInstall):
     def detect(cls):
         return cmds.has_command('pkcon')
 
+class DummySystemInstall(SystemInstall):
+    def __init__(self):
+        SystemInstall.__init__(self)
+
+    @classmethod
+    def detect(cls):
+        return True
+
 # Ordered from best to worst
-_classes = [PKSystemInstall]
+_classes = [PKSystemInstall, DummySystemInstall]
 
 if __name__ == '__main__':
     logging.basicConfig(level=logging.INFO)
