Путь самого инсталлера - $PWD; создаётся кастомный конфиг
This commit is contained in:
parent
a9fee1095d
commit
4241e059c2
5
install
5
install
|
@ -3,7 +3,7 @@
|
||||||
GITEA_BASE="https://app.3diy.ru:9999/3diy"
|
GITEA_BASE="https://app.3diy.ru:9999/3diy"
|
||||||
HomePi="/home/pi"
|
HomePi="/home/pi"
|
||||||
SetupHome="$HomePi/.setup"
|
SetupHome="$HomePi/.setup"
|
||||||
InstallHome="$SetupHome/installer"
|
InstallHome="$PWD"
|
||||||
configsHome="$SetupHome/cfg"
|
configsHome="$SetupHome/cfg"
|
||||||
ConfigsHome=${MY_ConfigsHome:-$configsHome}
|
ConfigsHome=${MY_ConfigsHome:-$configsHome}
|
||||||
|
|
||||||
|
@ -73,6 +73,9 @@ SCREEN_ARCHIVE=/home/pi/3dscreen.zip
|
||||||
[ -e /home/pi/3dscreen.settings.json ] || \
|
[ -e /home/pi/3dscreen.settings.json ] || \
|
||||||
install -m644 -o 0 -g 0 $ConfigsHome/home/pi/3dscreen.settings.json /home/pi/3dscreen.settings.json
|
install -m644 -o 0 -g 0 $ConfigsHome/home/pi/3dscreen.settings.json /home/pi/3dscreen.settings.json
|
||||||
|
|
||||||
|
[ -e /home/pi/3dscreen.settings.json ] || \
|
||||||
|
touch /home/pi/3dscreen.custom.config.js
|
||||||
|
|
||||||
$InstallHome/install_helper
|
$InstallHome/install_helper
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue