Commit d035be0d authored by Raphael Defosseux's avatar Raphael Defosseux
Browse files

Fix for all other OS versions


Signed-off-by: Raphael Defosseux's avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent b7cbb431
...@@ -312,9 +312,18 @@ install_usrp_uhd_driver() { ...@@ -312,9 +312,18 @@ install_usrp_uhd_driver() {
$SUDO apt-get -y install uhd-host $SUDO apt-get -y install uhd-host
fi fi
if [ -z $1 ]; then 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 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 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