aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-01-04 19:08:44 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-01-04 19:08:44 -0200
commit121eb7eb9326d2ff2f6f10095d781895cff6fb44 (patch)
tree7ee0d4f0b5d6e1f64d26397fc43143fb7823ae34 /share
parentcf43055626f2405a751d5a560739c938d38d6274 (diff)
downloadhydra-121eb7eb9326d2ff2f6f10095d781895cff6fb44.tar.gz
hydra-121eb7eb9326d2ff2f6f10095d781895cff6fb44.tar.bz2
Needed requirements
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydractl/requirements9
1 files changed, 8 insertions, 1 deletions
diff --git a/share/hydractl/requirements b/share/hydractl/requirements
index bbc743d..dbfcf7f 100755
--- a/share/hydractl/requirements
+++ b/share/hydractl/requirements
@@ -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