mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
Post R5 Build 11 fixes to resolve fldigi installation issues on clean image
This commit is contained in:
@@ -76,19 +76,19 @@ update-config () {
|
|||||||
et-portaudio 2>/dev/null > ${PORT_AUDIO_CONF}
|
et-portaudio 2>/dev/null > ${PORT_AUDIO_CONF}
|
||||||
|
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
echo "No supported ET_AUDIO device found"
|
et-log "No supported ET_AUDIO device found"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DEVICE=$(jq -r -e '.device' ${PORT_AUDIO_CONF})
|
DEVICE=$(jq -r -e '.device' ${PORT_AUDIO_CONF})
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
echo "Error getting PulseAudio device name for ET_AUDIO device"
|
et-log "Error getting PulseAudio device name for ET_AUDIO device"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
INDEX=$(jq -r -e '.index' ${PORT_AUDIO_CONF})
|
INDEX=$(jq -r -e '.index' ${PORT_AUDIO_CONF})
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
echo "Error getting PulseAudio device index for ET_AUDIO device"
|
et-log "Error getting PulseAudio device index for ET_AUDIO device"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -33,10 +33,6 @@ stop_all_services() {
|
|||||||
pkill et-vara
|
pkill et-vara
|
||||||
pkill VARA
|
pkill VARA
|
||||||
|
|
||||||
# Stop fldigi
|
|
||||||
pkill fldigi
|
|
||||||
pkill et-fldigi
|
|
||||||
|
|
||||||
stop_pat
|
stop_pat
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -37,12 +37,13 @@ make
|
|||||||
# Install
|
# Install
|
||||||
make install
|
make install
|
||||||
|
|
||||||
# Use wrapper script as launcher executable
|
|
||||||
sed -i 's|^Exec.*|Exec=/opt/emcomm-tools/bin/et-fldigi start|' /opt/fldigi/share/applications/fldigi.desktop
|
|
||||||
|
|
||||||
[[ -e ${LINK_PATH} ]] && rm ${LINK_PATH}
|
[[ -e ${LINK_PATH} ]] && rm ${LINK_PATH}
|
||||||
ln -v -s ${INSTALL_DIR} ${LINK_PATH}
|
ln -v -s ${INSTALL_DIR} ${LINK_PATH}
|
||||||
|
|
||||||
stow -v -d /opt ${APP} -t /usr/local
|
stow -v -d /opt ${APP} -t /usr/local
|
||||||
|
|
||||||
cd ${CWD}
|
cd ${CWD}
|
||||||
|
|
||||||
|
# Use wrapper script as launcher executable
|
||||||
|
sed -i 's|^Exec.*|Exec=/opt/emcomm-tools/bin/et-fldigi start|' /opt/fldigi/share/applications/fldigi.desktop
|
||||||
|
|
||||||
|
|||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Author : Gaston Gonzalez
|
||||||
|
# Date : 2 October 2025
|
||||||
|
# Purpose : Test fldigi installation
|
||||||
|
|
||||||
|
OUT=$(which fldigi)
|
||||||
|
exit $?
|
||||||
Reference in New Issue
Block a user