Additional update info.

This commit is contained in:
Pecusx
2017-01-16 19:02:17 +01:00
committed by GitHub
parent 6c709dba7a
commit 65d7ca70dd
+6
View File
@@ -21,6 +21,12 @@ if (is_numeric($github_version_date)) {
echo "GitHub PiRadio version: <b>".$github_version."</b>. Last commit: <b>".date("d.m.Y H:i:s",$github_version_date)."</b>.";
echo "<br><br>Do you really want to update your PiRadio from github repository.<br>";
echo "<br>After update your PiRadio will be rebooted!</pre>";
if (file_exists( "/usr/share/piradio-mini-master/html/scripts/update.sh" )) {
echo "<pre><b>Warning!<br>";
echo "This update includes additional system upgrades.<br>";
echo "The update procedure may take more than 5 minutes.<br>";
echo "Do not turn off the PiRadio until a full restart.</b></pre>";
}
} else {
echo "<b>Problem with download update files from GitHub!!!</b>.</pre>";
}