Update Installer-with-debug
This commit is contained in:
parent
6a6972b1e0
commit
795fd64451
1 changed files with 20 additions and 0 deletions
|
@ -63,6 +63,7 @@ if [ "$digit" = 2 ]; then
|
||||||
git clone https://github.com/aceisace/E-Paper-Calendar-with-iCal-sync-and-live-weather
|
git clone https://github.com/aceisace/E-Paper-Calendar-with-iCal-sync-and-live-weather
|
||||||
mkdir E-Paper-Master
|
mkdir E-Paper-Master
|
||||||
cd E-Paper-Calendar-with-iCal-sync-and-live-weather
|
cd E-Paper-Calendar-with-iCal-sync-and-live-weather
|
||||||
|
rm -r Calendar
|
||||||
mv 2-colour Calendar
|
mv 2-colour Calendar
|
||||||
cp -r Calendar /home/pi/E-Paper-Master/
|
cp -r Calendar /home/pi/E-Paper-Master/
|
||||||
cp README.md /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/
|
cp -r .git /home/pi/E-Paper-Master/
|
||||||
cd
|
cd
|
||||||
sudo rm -r E-Paper-Calendar-with-iCal-sync-and-live-weather
|
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 ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -85,6 +96,15 @@ if [ "$digit" = 3 ]; then
|
||||||
cp -r .git /home/pi/E-Paper-Master/
|
cp -r .git /home/pi/E-Paper-Master/
|
||||||
cd
|
cd
|
||||||
sudo rm -r E-Paper-Calendar-with-iCal-sync-and-live-weather
|
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 ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue