Convert tabs in hosts file to spaces so qubes can parse it correctly
This commit is contained in:
parent
8588625650
commit
99ef1072fa
@ -188,6 +188,13 @@ EOF
|
|||||||
# - font fixes for display issues
|
# - font fixes for display issues
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
copyTree "qubes-files" "${SCRIPTSDIR}" "${INSTALLDIR}"
|
copyTree "qubes-files" "${SCRIPTSDIR}" "${INSTALLDIR}"
|
||||||
|
|
||||||
|
# --------------------------------------------------------------------------
|
||||||
|
# Looks like hosts file may contain tabs and qubes will not parse it
|
||||||
|
# correctly
|
||||||
|
# --------------------------------------------------------------------------
|
||||||
|
expand "${INSTALLDIR}/etc/hosts" > "${INSATLLDIR}/etc/hosts.dist"
|
||||||
|
mv "${INSTALLDIR}/etc/hosts.dist" "${INSATLLDIR}/etc/hosts"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user