Update Installer-with-debug

This commit is contained in:
Ace 2018-10-01 22:47:13 +02:00 committed by GitHub
parent 6a6972b1e0
commit 795fd64451
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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