Repository URL to install this package:
|
Version:
0.15 ▾
|
#!/bin/bash
if ping -q -c 1 -W 1 8.8.8.8 >/dev/null; then
cd /tmp
mkdir PhET
cd PhET
wget -c https://sourceforge.net/projects/academix/files/PRO2/PhET-Installer_linux.bin
chmod +x PhET-Installer_linux.bin
./PhET-Installer_linux.bin
cd /tmp
rm -rf PhET
u="$(logname)"
cp -R /usr/share/EDU/PhET/mozo-made-2.desktop /home/$u/.local/share/applications/PhET.desktop
else
python /usr/share/EDU/insucces_ping.py;
sleep 2;
fi
exit