From 795fd64451be3a4b4a88d75e85a88e1270f98fc4 Mon Sep 17 00:00:00 2001 From: Ace Date: Mon, 1 Oct 2018 22:47:13 +0200 Subject: [PATCH] Update Installer-with-debug --- Installer-with-debug | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Installer-with-debug b/Installer-with-debug index 9a00220..f573305 100644 --- a/Installer-with-debug +++ b/Installer-with-debug @@ -63,6 +63,7 @@ if [ "$digit" = 2 ]; then git clone https://github.com/aceisace/E-Paper-Calendar-with-iCal-sync-and-live-weather mkdir E-Paper-Master cd E-Paper-Calendar-with-iCal-sync-and-live-weather + rm -r Calendar mv 2-colour Calendar cp -r Calendar /home/pi/E-Paper-Master/ cp README.md /home/pi/E-Paper-Master/ @@ -70,6 +71,16 @@ if [ "$digit" = 2 ]; then cp -r .git /home/pi/E-Paper-Master/ cd sudo rm -r E-Paper-Calendar-with-iCal-sync-and-live-weather + cd E-Paper-Master + bash -c 'cat > /home/pi/E-Paper-Master/Info.txt' << EOF + This document contains a short info of the version + + Version: 2-Colour E-Paper-version + Installer version: 1.2 (Early October 2018) + If the time was set correctly, you installed this software on: + + EOF + echo echo `date` >> /home/pi/E-Paper-Master/Info.txt echo "" fi @@ -85,6 +96,15 @@ if [ "$digit" = 3 ]; then cp -r .git /home/pi/E-Paper-Master/ cd sudo rm -r E-Paper-Calendar-with-iCal-sync-and-live-weather + bash -c 'cat > /home/pi/E-Paper-Master/Info.txt' << EOF + This document contains a short info of the version + + Version: 3-Colour E-Paper-version + Installer version: 1.2 (Early October 2018) + If the time was set correctly, you installed this software on: + + EOF + echo echo `date` >> /home/pi/E-Paper-Master/Info.txt echo "" fi