]> gitweb.fluxo.info Git - hydra.git/commitdiff
Needed requirements
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 4 Jan 2012 21:08:44 +0000 (19:08 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 4 Jan 2012 21:08:44 +0000 (19:08 -0200)
share/hydractl/requirements

index bbc743d4ca04455c17bba803516efbacab27dcf3..dbfcf7f56353c69a2fe9a73a043384e93b1589bb 100755 (executable)
@@ -1,4 +1,11 @@
 #!/bin/bash
 #
-# TODO: Get all needed requirements
+# Get all needed requirements.
 #
+
+REQUIREMENTS="lsb_releas facter"
+
+# Check for requirements.
+for req in "$REQUIREMENTS"; do
+  hydra_install_package $req
+done