Commit 6cfe73aa authored by Raphael Defosseux's avatar Raphael Defosseux

Fix for all other OS versions

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 28c28831
......@@ -312,9 +312,18 @@ install_usrp_uhd_driver() {
$SUDO apt-get -y install uhd-host
fi
if [ -z $1 ]; then
$SUDO /usr/local/bin/uhd_images_downloader
# quick workaround
if [[ "$OS_DISTRO" == "rhel7.6" ]]; then
$SUDO /usr/local/bin/uhd_images_downloader
else
$SUDO uhd_images_downloader
fi
else
$SUDO /usr/local/bin/uhd_images_downloader -i $1
if [[ "$OS_DISTRO" == "rhel7.6" ]]; then
$SUDO /usr/local/bin/uhd_images_downloader -i $1
else
$SUDO uhd_images_downloader -i $1
fi
fi
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment