]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
templates: fedora requires openssl binary 1148/head
authorElan Ruusamäe <glen@delfi.ee>
Tue, 23 Aug 2016 16:31:38 +0000 (19:31 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 23 Aug 2016 16:32:56 +0000 (19:32 +0300)
/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 a83a590b2979efcd6476b44690a3629ad0a89bbf..88f5ca95c7cafa927a8a6d71dc174a39d187e24c 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"