Update Birders_Guide_Installer.sh

This commit is contained in:
Patrick McGuire
2021-10-27 17:26:51 -04:00
committed by GitHub
parent 79b2031b31
commit 7702141795
+1 -2
View File
@@ -97,13 +97,12 @@ stage_2() {
echo "Follow the instructions to fill out the LATITUDE and LONGITUDE variables echo "Follow the instructions to fill out the LATITUDE and LONGITUDE variables
and set the passwords for the live audio stream. Save the file after editing and set the passwords for the live audio stream. Save the file after editing
and then close the Mouse Pad editing window to continue." and then close the Mouse Pad editing window to continue."
set -x
if [ -z "$SSH_CONNECTION" ];then if [ -z "$SSH_CONNECTION" ];then
EDITOR=mousepad EDITOR=mousepad
else else
EDITOR=nano EDITOR=nano
fi fi
env && exit sex -x
$EDITOR ${my_dir}/Birders_Guide_Installer_Configuration.txt $EDITOR ${my_dir}/Birders_Guide_Installer_Configuration.txt
while pgrep $EDITOR &> /dev/null;do while pgrep $EDITOR &> /dev/null;do
sleep 1 sleep 1