2 echo ":: Add yourself to the uucp group to access the serial ports:"
3 echo " sudo usermod -a -G uucp <user>"
4 echo " Please checkout the wiki for further information."
8 if [[ $(vercmp 1:1.6.12-1 "$2") -eq 1 ]]; then
9 echo "If arduino fails to install try to manually remove it first:"
10 echo "sudo pacman -Rs arduino"
14 _1:1.6.12_1_changes() {
15 echo ":: arduino is now split into arduino-builder, arduino-avr-core and arduino-docs"
16 echo " If arduino fails to run, check for a zombie folder:"
17 echo " ls -la /usr/share/arduino/hardware/avr"
18 echo " It might be left from a very old upgrade. Please remove it."
21 _1:1.8.2_1_changes() {
22 echo ":: Setting new permissions (775 -> 755) for /usr/share/arduino/tools/WiFi101/ and subfolders"
23 chmod 755 /usr/share/arduino/tools/WiFi101/
24 chmod 755 /usr/share/arduino/tools/WiFi101/tool/
25 chmod 755 /usr/share/arduino/tools/WiFi101/tool/firmwares/
26 chmod 755 /usr/share/arduino/tools/WiFi101/tool/firmwares/19.4.4/
35 for v in "${upgrades[@]}"; do
36 if [[ $(vercmp "$v" "$2") -eq 1 ]]; then