mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-23 07:43:36 +05:00
Compare commits
3 Commits
6662ce0c1d
...
960d01d6b1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
960d01d6b1 | ||
|
|
b6c6edb622 | ||
|
|
89a9d38d39 |
@@ -264,7 +264,7 @@ function clone_klipper() {
|
|||||||
status_msg "Cloning Klipper from ${repo} ..."
|
status_msg "Cloning Klipper from ${repo} ..."
|
||||||
|
|
||||||
cd "${HOME}" || exit 1
|
cd "${HOME}" || exit 1
|
||||||
if git clone "${repo}" "${KLIPPER_DIR}"; then
|
if git clone "${repo}" "${KLIPPER_DIR}" --depth 1; then
|
||||||
cd "${KLIPPER_DIR}" && git checkout "${branch}"
|
cd "${KLIPPER_DIR}" && git checkout "${branch}"
|
||||||
else
|
else
|
||||||
print_error "Cloning Klipper from\n ${repo}\n failed!"
|
print_error "Cloning Klipper from\n ${repo}\n failed!"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user