Integrated new dependencies in installer

This commit is contained in:
Maximilian Giller 2019-04-14 19:34:38 +02:00 committed by Max G
parent f8eddb66d5
commit f88a4bf702

View file

@ -21,7 +21,7 @@ if [ -z "$option" ]; then
fi fi
if [ "$option" = 3 ]; then if [ "$option" = 3 ]; then
echo -e "Removing the E-Paper software now..." echo -e "Removing the E-Paper software now..."
pip3 uninstall feedparser -y && sudo pip3 uninstall feedparser -y && pip3 uninstall Pillow -y && sudo pip3 uninstall Pillow -y && sudo pip3 uninstall pyowm -y&& sudo pip3 uninstall ics -y && pip3 uninstall pyowm -y && pip3 uninstall ics -y && sudo apt-get remove supervisor -y && sudo apt-get clean && sudo apt-get autoremove -y pip3 uninstall feedparser -y && sudo pip3 uninstall feedparser -y && pip3 uninstall numpy -y && sudo pip3 uninstall numpy -y && pip3 uninstall Pillow -y && sudo pip3 uninstall Pillow -y && sudo pip3 uninstall pyowm -y&& sudo pip3 uninstall ics -y && pip3 uninstall pyowm -y && pip3 uninstall ics -y && sudo apt-get remove supervisor -y && sudo apt-get clean && sudo apt-get autoremove -y
if [ -e /etc/supervisor/conf.d/E-Paper.conf ]; then if [ -e /etc/supervisor/conf.d/E-Paper.conf ]; then
sudo rm /etc/supervisor/conf.d/E-Paper.conf sudo rm /etc/supervisor/conf.d/E-Paper.conf
fi fi
@ -82,9 +82,11 @@ if [ "$option" = 2 ]; then
sudo pip3 install pyowm sudo pip3 install pyowm
sudo pip3 install ics sudo pip3 install ics
sudo pip3 install feedparser sudo pip3 install feedparser
sudo pip3 install numpy
pip3 install pyowm pip3 install pyowm
pip3 install ics pip3 install ics
pip3 install feedparser pip3 install feedparser
pip3 install numpy
echo -e "\e[1;36m"Finished installing libraries"\e[0m" echo -e "\e[1;36m"Finished installing libraries"\e[0m"
fi fi