From: Elan Ruusamäe Date: Tue, 23 Aug 2016 16:31:38 +0000 (+0300) Subject: templates: fedora requires openssl binary X-Git-Tag: lxc-2.1.0~343^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1148%2Fhead;p=thirdparty%2Flxc.git templates: fedora requires openssl binary /usr/share/lxc/templates/lxc-fedora: line 1078: openssl: command not found Signed-off-by: Elan Ruusamäe --- diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in index a83a590b2..88f5ca95c 100644 --- a/templates/lxc-fedora.in +++ b/templates/lxc-fedora.in @@ -1336,6 +1336,10 @@ type curl >/dev/null 2>&1 if [ $? -ne 0 ]; then needed_pkgs="curl $needed_pkgs" fi +type openssl >/dev/null 2>&1 +if [ $? -ne 0 ]; then + needed_pkgs="openssl $needed_pkgs" +fi if [ -n "$needed_pkgs" ]; then echo "Missing commands: $needed_pkgs"