Fixed some bugs
This commit is contained in:
parent
3ffe644f86
commit
0635adc3b9
@ -88,11 +88,12 @@ if [ "$option" = 2 ]; then
|
||||
fi
|
||||
|
||||
if [ "$option" = 1 ] || [ "$option" = 2 ]; then
|
||||
# Clone the repository, then delete some non-required files
|
||||
echo -e "\e[1;36m"Installing the Inky-Calendar Software for your display"\e[0m"
|
||||
cd
|
||||
git clone https://github.com/aceisace/Inky-Calendar
|
||||
git clone https://github.com/aceisace/Inky-Calendar Inky-Calendar-temp
|
||||
mkdir Inky-Calendar
|
||||
cd Inky-Calendar
|
||||
cd Inky-Calendar-temp
|
||||
cp -r Calendar /home/pi/Inky-Calendar/
|
||||
cp README.md /home/pi/Inky-Calendar/
|
||||
cp LICENSE /home/pi/Inky-Calendar/
|
||||
@ -101,10 +102,10 @@ if [ "$option" = 1 ] || [ "$option" = 2 ]; then
|
||||
# Make a copy of the sample settings.py file
|
||||
cd /home/pi/Inky-Calendar/Calendar
|
||||
cp settings.py.sample settings.py
|
||||
cd
|
||||
|
||||
# Remove the downloaded (temporary) directory
|
||||
sudo rm -r Inky-Calendar
|
||||
cd
|
||||
sudo rm -r Inky-Calendar-temp
|
||||
|
||||
# add a short info
|
||||
cat > /home/pi/Inky-Calendar/Info.txt << EOF
|
||||
|
Loading…
Reference in New Issue
Block a user