mirror of https://github.com/lwvmobile/dsd-fme.git
FIX: Locale indipendent libitpp-dev package check
This commit is contained in:
parent
bc140ec081
commit
6319508937
|
|
@ -13,7 +13,7 @@ ANSWER=$(printf "$ANSWER"|tr '[:upper:]' '[:lower:]')
|
||||||
if [ "$ANSWER" = "y" ]; then
|
if [ "$ANSWER" = "y" ]; then
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install libpulse-dev pavucontrol libsndfile1-dev libfftw3-dev liblapack-dev socat libusb-1.0-0-dev rtl-sdr librtlsdr-dev libusb-1.0-0-dev cmake git wget make build-essential libitpp-dev libncurses-dev libncurses6 libcodec2-dev
|
sudo apt install libpulse-dev pavucontrol libsndfile1-dev libfftw3-dev liblapack-dev socat libusb-1.0-0-dev rtl-sdr librtlsdr-dev libusb-1.0-0-dev cmake git wget make build-essential libitpp-dev libncurses-dev libncurses6 libcodec2-dev
|
||||||
chkitpp=$(sudo apt list libitpp-dev 2>&1|grep -ci "installed")
|
chkitpp=$(dpkg -l libitpp-dev 2>/dev/null | awk '/^ii/ {print 1} END {if (NR == 0) print 0}')
|
||||||
if [ "$chkitpp" -lt "1" ];then
|
if [ "$chkitpp" -lt "1" ];then
|
||||||
printf "\nFor some reason, ITPP did NOT install!\nYou may have to manually install it.\n\n"
|
printf "\nFor some reason, ITPP did NOT install!\nYou may have to manually install it.\n\n"
|
||||||
read -p "Press Enter to exit..." x
|
read -p "Press Enter to exit..." x
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ ANSWER=$(printf "$ANSWER"|tr '[:upper:]' '[:lower:]')
|
||||||
if [ "$ANSWER" = "y" ]; then
|
if [ "$ANSWER" = "y" ]; then
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install libpulse-dev pavucontrol libsndfile1-dev libfftw3-dev liblapack-dev socat libusb-1.0-0-dev libncurses5 libncurses5-dev rtl-sdr librtlsdr-dev libusb-1.0-0-dev cmake git wget make build-essential libitpp-dev libncursesw5-dev libcodec2-dev
|
sudo apt install libpulse-dev pavucontrol libsndfile1-dev libfftw3-dev liblapack-dev socat libusb-1.0-0-dev libncurses5 libncurses5-dev rtl-sdr librtlsdr-dev libusb-1.0-0-dev cmake git wget make build-essential libitpp-dev libncursesw5-dev libcodec2-dev
|
||||||
chkitpp=$(sudo apt list libitpp-dev 2>&1|grep -ci "installed")
|
chkitpp=$(dpkg -l libitpp-dev 2>/dev/null | awk '/^ii/ {print 1} END {if (NR == 0) print 0}')
|
||||||
if [ "$chkitpp" -lt "1" ];then
|
if [ "$chkitpp" -lt "1" ];then
|
||||||
printf "\nFor some reason, ITPP did NOT install!\nYou may have to manually install it.\n\n"
|
printf "\nFor some reason, ITPP did NOT install!\nYou may have to manually install it.\n\n"
|
||||||
read -p "Press Enter to exit..." x
|
read -p "Press Enter to exit..." x
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue