refactor(Mobileraker): update companion install script (#431) (#433)

This commit is contained in:
dw-0
2024-02-24 14:53:41 +01:00
committed by GitHub
parent 099d47df2f
commit b6c6edb622

View File

@@ -61,8 +61,8 @@ function mobileraker_setup() {
exit 1 exit 1
fi fi
status_msg "Installing Mobileraker's companion ..." status_msg "Starting installer of Mobileraker's companion ..."
if "${MOBILERAKER_DIR}"/scripts/install-mobileraker-companion.sh; then if "${MOBILERAKER_DIR}"/scripts/install.sh; then
ok_msg "Mobileraker's companion successfully installed!" ok_msg "Mobileraker's companion successfully installed!"
else else
print_error "Mobileraker's companion installation failed!" print_error "Mobileraker's companion installation failed!"
@@ -233,7 +233,7 @@ primary_branch:main
managed_services: mobileraker managed_services: mobileraker
env: ${HOME}/mobileraker-env/bin/python env: ${HOME}/mobileraker-env/bin/python
requirements: scripts/mobileraker-requirements.txt requirements: scripts/mobileraker-requirements.txt
install_script: scripts/install-mobileraker-companion.sh install_script: scripts/install.sh
MOONRAKER_CONF MOONRAKER_CONF
fi fi