Commit d035be0d 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 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
# quick workaround
if [[ "$OS_DISTRO" == "rhel7.6" ]]; then
$SUDO /usr/local/bin/uhd_images_downloader $SUDO /usr/local/bin/uhd_images_downloader
else else
$SUDO uhd_images_downloader
fi
else
if [[ "$OS_DISTRO" == "rhel7.6" ]]; then
$SUDO /usr/local/bin/uhd_images_downloader -i $1 $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