From 4a1dbac09be24b619c4fe66385817dc12da484c8 Mon Sep 17 00:00:00 2001 From: lantz Date: Mon, 8 Feb 2021 23:33:40 -0800 Subject: [PATCH] Basic fixes for install.sh -fnv for Fedora 33 (#1038) Closes #1003 --- util/install.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/util/install.sh b/util/install.sh index 3ae3327..5c4b8b7 100755 --- a/util/install.sh +++ b/util/install.sh @@ -164,7 +164,9 @@ function mn_deps { if [ "$DIST" = "Fedora" -o "$DIST" = "RedHatEnterpriseServer" ]; then $install gcc make socat psmisc xterm openssh-clients iperf \ iproute telnet python-setuptools libcgroup-tools \ - ethtool help2man pyflakes pylint python-pep8 python-pexpect + ethtool help2man + $install ${PYPKG}-pyflakes pylint ${PYPKG}-pep8-naming \ + ${PYPKG}-pexpect elif [ "$DIST" = "SUSE LINUX" ]; then $install gcc make socat psmisc xterm openssh iperf \ iproute telnet ${PYPKG}-setuptools libcgroup-tools \ @@ -408,7 +410,11 @@ function ovs { echo "Installing Open vSwitch..." if [ "$DIST" = "Fedora" -o "$DIST" = "RedHatEnterpriseServer" ]; then - $install openvswitch openvswitch-controller + $install openvswitch + if ! $install openvswitch-controller; then + echo "openvswitch-controller not installed" + echo "You may wish to install another controller such as Ryu" + fi return fi