2020-05-24 15:28:48 +00:00
|
|
|
diff -ur sdrplay-orig/install_lib.sh sdrplay/install_lib.sh
|
|
|
|
--- sdrplay-orig/install_lib.sh 2020-05-24 13:56:56.622000041 +0000
|
|
|
|
+++ sdrplay/install_lib.sh 2020-05-24 13:58:51.837801559 +0000
|
2020-04-10 16:03:19 +00:00
|
|
|
@@ -4,19 +4,6 @@
|
|
|
|
MAJVERS="3"
|
2019-01-13 21:04:29 +00:00
|
|
|
|
2020-04-10 16:03:19 +00:00
|
|
|
echo "Installing SDRplay RSP API library ${VERS}..."
|
|
|
|
-read -p "Press RETURN to view the license agreement" ret
|
|
|
|
-
|
2019-01-13 21:04:29 +00:00
|
|
|
-more sdrplay_license.txt
|
|
|
|
-
|
|
|
|
-while true; do
|
|
|
|
- echo "Press y and RETURN to accept the license agreement and continue with"
|
|
|
|
- read -p "the installation, or press n and RETURN to exit the installer [y/n] " yn
|
|
|
|
- case $yn in
|
|
|
|
- [Yy]* ) break;;
|
|
|
|
- [Nn]* ) exit;;
|
|
|
|
- * ) echo "Please answer y or n";;
|
|
|
|
- esac
|
|
|
|
-done
|
2019-01-22 16:25:46 +00:00
|
|
|
|
2020-04-10 16:03:19 +00:00
|
|
|
ARCH=`uname -m`
|
|
|
|
OSDIST="Unknown"
|
2020-05-24 15:28:48 +00:00
|
|
|
@@ -157,15 +144,6 @@
|
|
|
|
echo " "
|
|
|
|
echo "SDRplay API ${VERS} Installation Finished"
|
|
|
|
echo " "
|
|
|
|
-while true; do
|
|
|
|
- echo "Would you like to add SDRplay USB IDs to the local database for easier"
|
|
|
|
- read -p "identification in applications such as lsusb? [y/n] " yn
|
|
|
|
- case $yn in
|
|
|
|
- [Yy]* ) break;;
|
|
|
|
- [Nn]* ) exit;;
|
|
|
|
- * ) echo "Please answer y or n";;
|
|
|
|
- esac
|
|
|
|
-done
|
|
|
|
sudo cp scripts/sdrplay_usbids.sh ${INSTALLBINDIR}/.
|
|
|
|
sudo chmod 755 ${INSTALLBINDIR}/sdrplay_usbids.sh
|
|
|
|
sudo cp scripts/sdrplay_ids.txt ${INSTALLBINDIR}/.
|