1
0
mirror of https://github.com/AG7GN/nexus-utilities.git synced 2025-05-20 08:20:11 -07:00

Update install_wecg.sh

This commit is contained in:
Steve Magnuson 2021-09-10 13:04:52 -07:00
parent 91bdc647dd
commit 71a9b8db47

View File

@ -96,11 +96,10 @@ echo >&2 "Done."
echo >&2 "Moving files into place..."
mv TM-D710G.xml $HOME/.fldigi/rigs/
sudo mv *.sh /usr/local/bin/
[[ -z $RESTORE_APP ]] && SIDE=""
for K in start stop kill
for K in start kill stop
do
cp flapps_$K.template flapps_$K.desktop
[[ $K == "stop" && -z $RESTORE_APP ]] && SIDE=""
if [[ $K == "stop" && -z $RESTORE_APP ]] && SIDE=""
sed -i -e "s/_HOME_/\/home\/$USER/g" -e "s/_SIDE_/$SIDE/g" \
-e "s/_FLDIGI_FREQ_/$FLDIGI_FREQ/g" \
-e "s/_RESTORE_APP_/$RESTORE_APP/g" \