Skip to content

Commit ee2224a

Browse files
committed
Updating the startup for all students
1 parent df889a7 commit ee2224a

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

setupPackages.sh

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ else
1818
echo "$GITHUBDESKTOP installed "
1919
fi
2020

21-
sudo apt install -y git mesa-utils openshot-qt python3-openshot ssh net-tools build-essential curl wget inkscape scratch docker.io libfuse2 nodejs npm sssd-ad sssd-tools realmd adcli krita obs-studio godot3 google-chrome-stable
21+
sudo apt install -y git libncurses5 libpython2.7 mesa-utils openshot-qt python3-openshot ssh net-tools build-essential curl wget inkscape scratch docker.io libfuse2 nodejs npm sssd-ad sssd-tools realmd adcli krita obs-studio godot3 google-chrome-stable
2222
sudo apt purge -y brltty
2323
sudo apt purge -y modemmanager
2424

@@ -129,7 +129,26 @@ fi
129129

130130

131131

132+
## old cleanup section
133+
EXCEPTION_ZIP=EspExceptionDecoder-2.0.3.zip
134+
sudo mkdir -p /etc/skel/Arduino/tools/
135+
if (! test -e $EXCEPTION_ZIP) then
132136

137+
wget https://github.com/me-no-dev/EspExceptionDecoder/releases/download/2.0.3/$EXCEPTION_ZIP -O $EXCEPTION_ZIP
138+
sudo unzip $EXCEPTION_ZIP -d /etc/skel/Arduino/tools/
139+
fi
140+
141+
142+
143+
cd /home/
144+
for d in */ ; do
145+
TRIMMED=$(basename $d);
146+
echo "Checking $TRIMMED"
147+
sudo mkdir -P /home/$TRIMMED/Arduino/tools/EspExceptionDecoder/tool/
148+
sudo cp /etc/skel/Arduino/tools/EspExceptionDecoder/tool/EspExceptionDecoder.jar /home/$TRIMMED/Arduino/tools/EspExceptionDecoder/tool/
149+
sudo chown -R $TRIMMED:$TRIMMED /home/$TRIMMED/Arduino/tools/
150+
#sudo rm -rf /home/$d/snap/firefox/
151+
done
133152

134153

135154

0 commit comments

Comments
 (0)