/home/pi/printer_hw: обрабатывается Go кодом; ошибки в помощниках - остановка

This commit is contained in:
Nikolay Kopitonenko 2024-03-16 06:21:24 +03:00
parent 042474ddd5
commit 0378b7e968
3 changed files with 2 additions and 5 deletions

View File

@ -5,7 +5,7 @@
echo echo
echo "Starting: helper_post" echo "Starting: helper_post"
set -x set -xe
[ -e /home/pi/klipper ] && { [ -e /home/pi/klipper ] && {
su - pi -c "cd /home/pi/klipper \ su - pi -c "cd /home/pi/klipper \

View File

@ -5,7 +5,7 @@
[ "$configsHome" = "$ConfigsHome" ] || \ [ "$configsHome" = "$ConfigsHome" ] || \
echo "Custom ConfigsHome: $ConfigsHome" echo "Custom ConfigsHome: $ConfigsHome"
set -x set -xe
git config pull.rebase false git config pull.rebase false
@ -19,9 +19,6 @@ git config pull.rebase false
(cd "$ConfigsHome" && git config pull.rebase false) (cd "$ConfigsHome" && git config pull.rebase false)
} }
mkdir -p /home/pi/printer_hw
chown -R 0:0 /home/pi/printer_hw
mkdir -p /home/pi/.klippy mkdir -p /home/pi/.klippy
chown pi:pi /home/pi/.klippy chown pi:pi /home/pi/.klippy

BIN
install

Binary file not shown.