fix
This commit is contained in:
@@ -10,12 +10,12 @@ MoonrakerTelegramBot_setup(){
|
|||||||
dep=(virtualenv)
|
dep=(virtualenv)
|
||||||
dependency_check
|
dependency_check
|
||||||
status_msg "Downloading MoonrakerTelegramBot ..."
|
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
|
[ -d $MOONRAKER_TELEGRAM_BOT_DIR ] && rm -rf $MOONRAKER_TELEGRAM_BOT_DIR
|
||||||
#clone into fresh MoonrakerTelegramBot dir
|
#clone into fresh MoonrakerTelegramBot dir
|
||||||
cd ${HOME} && git clone $NLEF_REPO
|
cd ${HOME} && git clone $NLEF_REPO
|
||||||
ok_msg "Download complete!"
|
ok_msg "Download complete!"
|
||||||
status_msg "Installing MoonrakerTelegramBot ..."
|
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!"
|
echo; ok_msg "MoonrakerTelegramBot successfully installed!"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -320,7 +320,7 @@ update_MoonrakerTelegramBot(){
|
|||||||
stop_MoonrakerTelegramBot
|
stop_MoonrakerTelegramBot
|
||||||
cd $MOONRAKER_TELEGRAM_BOT_DIR
|
cd $MOONRAKER_TELEGRAM_BOT_DIR
|
||||||
git pull
|
git pull
|
||||||
./install.sh
|
./scripts/install.sh
|
||||||
ok_msg "Update complete!"
|
ok_msg "Update complete!"
|
||||||
start_MoonrakerTelegramBot
|
start_MoonrakerTelegramBot
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user