1
0
Fork 0

download_and_compile.sh: fix path in generated default TerraGearGUI.conf

The 'flightgear' path in ~/.config/TerraGear/TerraGearGUI.conf is
supposed to point to $FG_ROOT, not to the FlightGear repository...
This commit is contained in:
Florent Rougon 2019-05-02 01:36:00 +02:00
parent 882ab6ae59
commit ecd4b9aab3

View file

@ -1337,7 +1337,7 @@ if _elementIn "TERRAGEARGUI" "${WHATTOBUILD[@]}"; then
mkdir -p ~/.config/TerraGear mkdir -p ~/.config/TerraGear
echo "[paths]" > "$cfgFile" echo "[paths]" > "$cfgFile"
echo "terragear=$INSTALL_DIR_TG" >> "$cfgFile" echo "terragear=$INSTALL_DIR_TG" >> "$cfgFile"
echo "flightgear=$INSTALL_DIR_FGFS" >> "$cfgFile" echo "flightgear=$INSTALL_DIR_FGFS/fgdata" >> "$cfgFile"
fi fi
SCRIPT=run_terrageargui.sh SCRIPT=run_terrageargui.sh