Update Birders_Guide_Installer.sh

This commit is contained in:
Patrick McGuire
2021-10-27 17:24:00 -04:00
committed by GitHub
parent 06ef79fa43
commit 79b2031b31
+4 -4
View File
@@ -99,13 +99,13 @@ 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 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 env && exit
$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
done done
source ${my_dir}/Birders_Guide_Installer_Configuration.txt || exit 1 source ${my_dir}/Birders_Guide_Installer_Configuration.txt || exit 1