mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Fix generated /etc/os-release file in OS check test
Signed-off-by: MichaIng <micha@dietpi.com>
This commit is contained in:
parent
671fcaffc3
commit
14a379d448
1 changed files with 3 additions and 3 deletions
|
@ -1085,9 +1085,9 @@ def test_os_check_fails(host):
|
||||||
install_dependent_packages ${OS_CHECK_DEPS[@]}
|
install_dependent_packages ${OS_CHECK_DEPS[@]}
|
||||||
install_dependent_packages ${INSTALLER_DEPS[@]}
|
install_dependent_packages ${INSTALLER_DEPS[@]}
|
||||||
cat <<EOT > /etc/os-release
|
cat <<EOT > /etc/os-release
|
||||||
ID=UnsupportedOS
|
ID=UnsupportedOS
|
||||||
VERSION_ID="2"
|
VERSION_ID="2"
|
||||||
EOT
|
EOT
|
||||||
''')
|
''')
|
||||||
detectOS = host.run('''t
|
detectOS = host.run('''t
|
||||||
source /opt/pihole/basic-install.sh
|
source /opt/pihole/basic-install.sh
|
||||||
|
|
Loading…
Reference in a new issue