BAPP=4.0 ID=QTSOUND Name=QtSoundModem Comment='PiQtSoundModem' Ver=Update:0.57 localVer=0 INSTALL(){ #Documentation - https://www.cantab.net/users/john.wiseman/Documents/QtSoundModem.html #determine if 32 or 64 bit and install correct dependencies. Thanks Ben,KU0HN! Reference: https://groups.io/g/bpq32/message/34486 if [ `getconf LONG_BIT` = '32' ]; then sudo apt install libqt5serialport5 else sudo dpkg --add-architecture armhf sudo apt update sudo apt install -y libqt5widgets5:armhf libqt5serialport5:armhf libasound2:armhf libasound2-plugins:armhf libfftw3-bin:armhf fi cd ${HOME}/Downloads || return wget --tries 2 --connect-timeout=60 https://www.cantab.net/users/john.wiseman/Downloads/Beta/piQtSoundModem chmod +x piQtSoundModem sudo mv piQtSoundModem /usr/local/bin cat > /run/user/$UID/qtsoundmodem.desktop <