Convert tabs in hosts file to spaces so qubes can parse it correctly

This commit is contained in:
Jason Mehring 2014-10-26 14:55:22 -04:00
parent 8588625650
commit 99ef1072fa

View File

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