Убраны диры, которые ставит go installer
This commit is contained in:
parent
a7c6dbad69
commit
a2a39b14bd
|
@ -7,7 +7,6 @@ file:
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
contents:
|
contents:
|
||||||
- "[include printer_hw/*.cfg]"
|
- "[include printer_hw/*.cfg]"
|
||||||
- "[include printer_soft/*.cfg]"
|
|
||||||
- "[include 3dscreen/klipper/configs/*.cfg]"
|
- "[include 3dscreen/klipper/configs/*.cfg]"
|
||||||
- "[include printer/*.cfg]"
|
- "[include printer/*.cfg]"
|
||||||
|
|
||||||
|
@ -18,13 +17,6 @@ file:
|
||||||
group: root
|
group: root
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|
||||||
/home/pi/printer_soft:
|
|
||||||
filetype: directory
|
|
||||||
exists: true
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: "0755"
|
|
||||||
|
|
||||||
/home/pi/printer_data:
|
/home/pi/printer_data:
|
||||||
filetype: directory
|
filetype: directory
|
||||||
exists: true
|
exists: true
|
||||||
|
|
17
install
17
install
|
@ -24,21 +24,8 @@ 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 /home/pi/printer_soft /home/pi/printer
|
mkdir -p /home/pi/printer_hw
|
||||||
|
chown -R 0:0 /home/pi/printer_hw
|
||||||
[ -e /home/pi/printer.cfg ] || \
|
|
||||||
install -m644 -o 0 -g 0 $ConfigsHome/home/pi/printer.cfg /home/pi/printer.cfg
|
|
||||||
chown 0:0 /home/pi/printer.cfg
|
|
||||||
|
|
||||||
[ -e /home/pi/printer_soft/soft.cfg ] || \
|
|
||||||
touch /home/pi/printer_soft/soft.cfg
|
|
||||||
|
|
||||||
[ -e /home/pi/printer_data ] || {
|
|
||||||
mkdir /home/pi/printer_data
|
|
||||||
}
|
|
||||||
|
|
||||||
chown -R 0:0 /home/pi/printer_hw /home/pi/printer_soft
|
|
||||||
chown -R pi:pi /home/pi/printer /home/pi/printer_data
|
|
||||||
|
|
||||||
mkdir -p /home/pi/.klippy
|
mkdir -p /home/pi/.klippy
|
||||||
chown pi:pi /home/pi/.klippy
|
chown pi:pi /home/pi/.klippy
|
||||||
|
|
Loading…
Reference in New Issue