Fixed a few issues with EOF
Fixed the issue where lines in info.txt and the supervisor conf file would be indented, leading to a few issues related to auto-starting
This commit is contained in:
		| @@ -115,12 +115,12 @@ fin | |||||||
|          |          | ||||||
|         # add a short info |         # add a short info | ||||||
|         cat > /home/pi/E-Paper-Master/Info.txt << EOF |         cat > /home/pi/E-Paper-Master/Info.txt << EOF | ||||||
|     This document contains a short info of the E-Paper-Calendar software version | This document contains a short info of the E-Paper-Calendar software version | ||||||
|  |  | ||||||
|     Version: 2-Colour E-Paper-version | Version: 2-Colour E-Paper-version | ||||||
|     Installer version: 1.5 (Early February 2019) | Installer version: 1.5 (Early February 2019) | ||||||
|     configuration file: /home/pi/E-Paper-Master/Calendar/settings.py | configuration file: /home/pi/E-Paper-Master/Calendar/settings.py | ||||||
|     If the time was set correctly, you installed this software on: | If the time was set correctly, you installed this software on: | ||||||
| EOF | EOF | ||||||
|         echo "$(date)" >> /home/pi/E-Paper-Master/Info.txt |         echo "$(date)" >> /home/pi/E-Paper-Master/Info.txt | ||||||
|         echo "" |         echo "" | ||||||
| @@ -130,12 +130,12 @@ EOF | |||||||
|     if [ "$digit" = 3 ]; then |     if [ "$digit" = 3 ]; then | ||||||
|         # add a short info |         # add a short info | ||||||
|         cat > /home/pi/E-Paper-Master/Info.txt << EOF |         cat > /home/pi/E-Paper-Master/Info.txt << EOF | ||||||
|     This document contains a short info of the version | This document contains a short info of the version | ||||||
|  |  | ||||||
|     Version: 3-Colour E-Paper-version | Version: 3-Colour E-Paper-version | ||||||
|     Installer version: 1.5 (Early February 2019) | Installer version: 1.5 (Early February 2019) | ||||||
|     configuration file: /home/pi/E-Paper-Master/Calendar/settings.py | configuration file: /home/pi/E-Paper-Master/Calendar/settings.py | ||||||
|     If the time was set correctly, you installed this software on: | If the time was set correctly, you installed this software on: | ||||||
| EOF | EOF | ||||||
|         echo "$(date)" >> /home/pi/E-Paper-Master/Info.txt |         echo "$(date)" >> /home/pi/E-Paper-Master/Info.txt | ||||||
|         echo "" |         echo "" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user