Update prototype.sh
This commit is contained in:
parent
701a40d353
commit
0eb3df9ba1
11
prototype.sh
11
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"
|
||||||
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user