Much better update procedure :)

This commit is contained in:
Pecusx
2017-01-06 16:38:16 +01:00
committed by GitHub
parent d9ac4cb324
commit c900ff5f72
+9
View File
@@ -12,5 +12,14 @@ rm -r /usr/share/piradio-mini-master
# Remove github file
rm /home/pi/piradionew.zip
# Check for additional update script
if [ -f "/usr/share/radio/html/scripts/update.sh" ]
then
# Call update script
/usr/share/radio/html/scripts/update.sh
# Remove update script
rm /usr/share/radio/html/scripts/update.sh
fi
# Reboot after update
reboot