mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-12 14:39:54 -05:00
Update: Allow Dependency installation
This commit is contained in:
parent
5bcce3b474
commit
3f1f619dfb
@ -143,7 +143,7 @@ def service_manip(bot, servicename, dowhat):
|
|||||||
def spicebot_update(bot):
|
def spicebot_update(bot):
|
||||||
try:
|
try:
|
||||||
stderr("Updating " + bot.nick + " from Github.")
|
stderr("Updating " + bot.nick + " from Github.")
|
||||||
for line in os.popen("pip3 install --upgrade --no-deps --force-reinstall git+" +
|
for line in os.popen("pip3 install --upgrade --force-reinstall git+" +
|
||||||
str(bot.config.SpiceBot_Update.gitrepo) +
|
str(bot.config.SpiceBot_Update.gitrepo) +
|
||||||
"@" + str(bot.config.SpiceBot_Update.gitbranch)).read().split('\n'):
|
"@" + str(bot.config.SpiceBot_Update.gitbranch)).read().split('\n'):
|
||||||
stderr(line)
|
stderr(line)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user