From: Elan Ruusamäe Date: Tue, 23 Aug 2016 16:31:38 +0000 (+0300) Subject: templates: fedora requires openssl binary X-Git-Tag: lxc-1.0.9~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=200272c1892b25d56de91da2dbce6a7614e26f09;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 7a4cddd1d..c0a20a684 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"