#!/bin/bash # # This needs to be run as the user account that's running the bot. # cd $HOME/Limnoria-Plugins/ echo Updating: pwd git pull cd $HOME/limnoria-plugins/ echo Updating: pwd git pull cd $HOME/spidey-supybot-plugins/ echo Updating: pwd git pull cd $HOME/Supybot-plugins/ echo Updating: pwd git pull cd $HOME/SupyPlugins/ echo Updating: pwd git pull cd $HOME/Limnoria/ echo Updating: pwd git pull cd $HOME/Supybot-Titler/ echo Updating: pwd git pull echo Copying plugins over to ~/Limnoria/plugins/ cp -R $HOME/Limnoria-Plugins/* $HOME/Limnoria/plugins/ cp -R $HOME/limnoria-plugins/* $HOME/Limnoria/plugins/ cp -R $HOME/spidey-supybot-plugins/Plugins/* $HOME/Limnoria/plugins/ cp -R $HOME/Supybot-plugins/* $HOME/Limnoria/plugins/ cp -R $HOME/SupyPlugins/* $HOME/Limnoria/plugins/ cp -R $HOME/Supybot-Titler/* $HOME/Limnoria/plugins/Titler/ rm -rf $HOME/.local/lib/python*/site-packages/limnoria-*.egg/ cd $HOME/Limnoria python setup.py install --user