Update prototype.sh
This commit is contained in:
parent
d6bd526e15
commit
c8efdade43
@ -23,7 +23,10 @@ if [ -z "$option" ]; then
|
|||||||
fi
|
fi
|
||||||
if [ "$option" = 3 ]; then
|
if [ "$option" = 3 ]; then
|
||||||
echo "Removing the E-Paper software now..."
|
echo "Removing the E-Paper software now..."
|
||||||
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 --purge supervisor -y && sudo apt-get clean && sudo apt-get autoremove -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
|
||||||
|
sudo rm /etc/supervisor/conf.d/E-Paper.conf
|
||||||
|
fi
|
||||||
echo "The libraries have been removed successfully"
|
echo "The libraries have been removed successfully"
|
||||||
echo "Removing the E-Paper-Calendar folder if it exists"
|
echo "Removing the E-Paper-Calendar folder if it exists"
|
||||||
if [ -d "/home/pi/E-Paper-Master" ]; then
|
if [ -d "/home/pi/E-Paper-Master" ]; then
|
||||||
@ -105,7 +108,7 @@ Version: 1.5
|
|||||||
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 ""
|
||||||
|
|
||||||
@ -120,7 +123,7 @@ stdout_logfile = /home/pi/E-Paper-Master/E-Paper.log
|
|||||||
stdout_logfile_maxbytes = 1MB
|
stdout_logfile_maxbytes = 1MB
|
||||||
stderr_logfile = /home/pi/E-Paper-Master/E-Paper-err.log
|
stderr_logfile = /home/pi/E-Paper-Master/E-Paper-err.log
|
||||||
stderr_logfile_maxbytes = 1MB
|
stderr_logfile_maxbytes = 1MB
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
sudo service supervisor start E-Paper
|
sudo service supervisor start E-Paper
|
||||||
echo ""
|
echo ""
|
||||||
|
Loading…
Reference in New Issue
Block a user