Fixed an issue where the settings.py was missing

This commit is contained in:
Ace 2019-02-12 20:29:52 +01:00 committed by GitHub
parent 272ad2f594
commit e6f08e83fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,11 +84,6 @@ if [ "$option" = 2 ]; then
pip3 install pyowm
pip3 install ics
echo -e "\e[1;36m"Finished installing libraries"\e[0m"
# Making a copy of the sample settings.py file
cd /home/pi/E-Paper-Master/Calendar
cp settings.py.sample settings.py
cd
fi
if [ "$option" = 1 ] || [ "$option" = 2 ]; then
@ -101,7 +96,13 @@ if [ "$option" = 1 ] || [ "$option" = 2 ]; then
cp README.md /home/pi/E-Paper-Master/
cp LICENSE /home/pi/E-Paper-Master/
cp -r .git /home/pi/E-Paper-Master/
# Make a copy of the sample settings.py file
cd /home/pi/E-Paper-Master/Calendar
cp settings.py.sample settings.py
cd
# Remove the downloaded (temporary) directory
sudo rm -r E-Paper-Calendar-with-iCal-sync-and-live-weather
# add a short info