Add moonraker-telegram-bot by nlef #117

Merged
shavrin777 merged 40 commits from dev into master 2021-09-28 16:52:59 +02:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit e1aaa66457 - Show all commits

View File

@@ -10,12 +10,12 @@ MoonrakerTelegramBot_setup(){
dep=(virtualenv)
dependency_check
status_msg "Downloading MoonrakerTelegramBot ..."
#force remove existing MoonrakerTelegramBot dir
#force remove existing MoonrakerTelegramBot dir
[ -d $MOONRAKER_TELEGRAM_BOT_DIR ] && rm -rf $MOONRAKER_TELEGRAM_BOT_DIR
#clone into fresh MoonrakerTelegramBot dir
cd ${HOME} && git clone $NLEF_REPO
ok_msg "Download complete!"
status_msg "Installing MoonrakerTelegramBot ..."
source $MOONRAKER_TELEGRAM_BOT_DIR/scripts/install.sh
$MOONRAKER_TELEGRAM_BOT_DIR/scripts/install.sh
echo; ok_msg "MoonrakerTelegramBot successfully installed!"
}

View File

@@ -320,7 +320,7 @@ update_MoonrakerTelegramBot(){
stop_MoonrakerTelegramBot
cd $MOONRAKER_TELEGRAM_BOT_DIR
git pull
./install.sh
./scripts/install.sh
ok_msg "Update complete!"
start_MoonrakerTelegramBot
}