Update prototype.sh

This commit is contained in:
Ace 2019-04-18 13:36:04 +02:00 committed by GitHub
parent 3b177bd870
commit f6e8e31d61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -165,7 +165,7 @@ if [ "$option" = 1 ] || [ "$option" = 2 ]; then
echo 'ics is installed, skipping installation of this package.'
else
echo 'ics is not installed, attempting to install now'
sudo pip3 ics
sudo pip3 install ics
fi
#feedparser for user pi
@ -173,8 +173,8 @@ if [ "$option" = 1 ] || [ "$option" = 2 ]; then
if python3.5 -c "import feedparser" &> /dev/null; then
echo 'feedparser is installed, skipping installation of this package.'
else
echo 'ics is not installed, attempting to install now'
pip3 install ics
echo 'feedparser is not installed, attempting to install now'
pip3 install feedparser
fi
#feedparser for user sudo
@ -183,7 +183,7 @@ if [ "$option" = 1 ] || [ "$option" = 2 ]; then
echo 'feedparser is installed, skipping installation of this package.'
else
echo 'feedparser is not installed, attempting to install now'
sudo pip3 feedparser
sudo pip3 install feedparser
fi
echo -e "\e[1;36m"Finished installing all dependencies"\e[0m"