mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-09 14:42:01 -03:30
build: fix raspi-config integration in new build
This commit is contained in:
parent
03261fc952
commit
b619457627
4
ncp.sh
4
ncp.sh
@ -32,8 +32,8 @@ install()
|
||||
|
||||
# include option in raspi-config (only Raspbian)
|
||||
test -f /usr/bin/raspi-config && {
|
||||
sed -i '/Change User Password/i"0 NextCloudPi Configuration" "Configuration of NextCloudPi" \\\\' /usr/bin/raspi-config
|
||||
sed -i '/1\\\\ \*) do_change_pass ;;/i0\\\\ *) ncp-config ;;' /usr/bin/raspi-config
|
||||
sed -i '/Change User Password/i"0 NextCloudPi Configuration" "Configuration of NextCloudPi" \\' /usr/bin/raspi-config
|
||||
sed -i '/1\\ \*) do_change_pass ;;/i0\\ *) ncp-config ;;' /usr/bin/raspi-config
|
||||
}
|
||||
|
||||
# NCP-WEB
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user