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