Update prototype.sh
This commit is contained in:
		
							
								
								
									
										13
									
								
								prototype.sh
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								prototype.sh
									
									
									
									
									
								
							| @@ -1,8 +1,7 @@ | |||||||
| #!/bin/bash | #!/bin/bash | ||||||
| # E-Paper-Calendar software installer for Raspberry pi | # E-Paper-Calendar software installer for Raspberry pi | ||||||
| # Version: 1.5 (Early Februrary 2019) | # Version: 1.6 (Mid April 2019) | ||||||
| # Stability status of this installer: Confirmed with Raspbain Stretch Lite on 12th March 2019 | # Stability status of this installer: Testing in progress | ||||||
| # Copyright by aceisace |  | ||||||
|  |  | ||||||
| echo -e "\e[1mPlease select an option from below:" | echo -e "\e[1mPlease select an option from below:" | ||||||
| echo -e "\e[97mEnter \e[91m1 \e[97m to update the E-Paper software" | echo -e "\e[97mEnter \e[91m1 \e[97m to update the E-Paper software" | ||||||
| @@ -55,7 +54,7 @@ if [ "$option" = 1 ]; then | |||||||
| fi | fi | ||||||
|  |  | ||||||
| if [ "$option" = 2 ]; then | if [ "$option" = 2 ]; then | ||||||
|     echo -e "\e[1;36m"Setting up the system by installing some required libraries for python3 "\e[0m" |     echo -e "\e[1;36m"Setting up the system by installing some required libraries for python3"\e[0m" | ||||||
|  |  | ||||||
|     # Installing a few packages which are missing on Raspbian Stretch Lite |     # Installing a few packages which are missing on Raspbian Stretch Lite | ||||||
|     echo -e "\e[1;36m"Installing a few packages that are missing on Raspbian Stretch Lite..."\e[0m" |     echo -e "\e[1;36m"Installing a few packages that are missing on Raspbian Stretch Lite..."\e[0m" | ||||||
| @@ -97,7 +96,7 @@ if [ "$option" = 1 ] || [ "$option" = 2 ]; then | |||||||
|     # Installing dependencies |     # Installing dependencies | ||||||
|      |      | ||||||
|     #PYOWM for user pi |     #PYOWM for user pi | ||||||
|     echo -e "\e[1;36m"Installing dependencies of the Inky-Calendar software"\e[0m" |     echo -e "\e[1;36m"Installing dependencies for the Inky-Calendar software"\e[0m" | ||||||
|      |      | ||||||
|     echo -e "\e[1;36m"Checking if pyowm is installed for user pi"\e[0m" |     echo -e "\e[1;36m"Checking if pyowm is installed for user pi"\e[0m" | ||||||
|     if python3.5 -c "import pyowm" &> /dev/null; then |     if python3.5 -c "import pyowm" &> /dev/null; then | ||||||
| @@ -117,7 +116,7 @@ if [ "$option" = 1 ] || [ "$option" = 2 ]; then | |||||||
|     fi |     fi | ||||||
|      |      | ||||||
|     #Pillow for user pi   |     #Pillow for user pi   | ||||||
|     echo -e "\e[1;36m"Checking if Pillow v5.3.0 is installed for user pi"\e[0m" |     echo -e "\e[1;36m"Checking if Pillow is installed for user pi"\e[0m" | ||||||
|     if python3.5 -c "import PIL" &> /dev/null; then |     if python3.5 -c "import PIL" &> /dev/null; then | ||||||
|         echo 'Pillow is installed, skipping installation of this package.' |         echo 'Pillow is installed, skipping installation of this package.' | ||||||
|     else |     else | ||||||
| @@ -126,7 +125,7 @@ if [ "$option" = 1 ] || [ "$option" = 2 ]; then | |||||||
|     fi |     fi | ||||||
|      |      | ||||||
|     #Pillow for user sudo |     #Pillow for user sudo | ||||||
|     echo -e "\e[1;36m"Checking if Pillow v5.3.0 is installed for user sudo"\e[0m" |     echo -e "\e[1;36m"Checking if Pillow is installed for user sudo"\e[0m" | ||||||
|     if sudo python3.5 -c "import PIL" &> /dev/null; then |     if sudo python3.5 -c "import PIL" &> /dev/null; then | ||||||
|         echo 'Pillow is installed, skipping installation of this package.' |         echo 'Pillow is installed, skipping installation of this package.' | ||||||
|     else |     else | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user