1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 23:08:07 +00:00

Merge pull request #4443 from MichaIng/patch-1

Fix generated /etc/os-release file in OS check test
This commit is contained in:
yubiuser 2021-11-30 13:05:34 +01:00 committed by GitHub
commit 941f90d5c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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