]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
templates: fedora requires openssl binary
authorElan Ruusamäe <glen@delfi.ee>
Tue, 23 Aug 2016 16:31:38 +0000 (19:31 +0300)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 17 Nov 2016 23:31:59 +0000 (18:31 -0500)
/usr/share/lxc/templates/lxc-fedora: line 1078: openssl: command not found

Signed-off-by: Elan Ruusamäe <glen@delfi.ee>
templates/lxc-fedora.in

index 7a4cddd1d4d83b4bbf395bfcf0ac5be5e307741c..c0a20a684d595299254b0d93cc3df73b88af9544 100644 (file)
@@ -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"