mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
Tools: Fix setup for Jammy
This commit is contained in:
parent
6eea4d12ee
commit
0cec5dccea
@ -13,7 +13,7 @@ else
|
||||
echo "$JSBBINARY does not exist, building it in your home folder:"
|
||||
cd ~
|
||||
rm -rf jsbsim
|
||||
git clone git://github.com/JSBSim-Team/jsbsim.git
|
||||
git clone https://github.com/JSBSim-Team/jsbsim.git
|
||||
cd jsbsim
|
||||
mkdir build
|
||||
cd build
|
||||
|
@ -14,7 +14,14 @@ fi
|
||||
|
||||
apt-get update
|
||||
|
||||
apt-get install -y ubuntu-desktop
|
||||
RELEASE_CODENAME=$(lsb_release -c -s)
|
||||
|
||||
PACKAGES="ubuntu-desktop"
|
||||
if [ ${RELEASE_CODENAME} == 'jammy' ]; then
|
||||
PACKAGES="$PACKAGES dbus-x11"
|
||||
fi
|
||||
|
||||
apt-get install -y $PACKAGES
|
||||
|
||||
GDB_CONF="/etc/gdm3/custom.conf"
|
||||
perl -pe 's/# AutomaticLoginEnable = true/AutomaticLoginEnable = true/' -i "$GDB_CONF"
|
||||
|
Loading…
Reference in New Issue
Block a user