diff --git a/cd.sh b/cd.sh index 2757fc5..15756bc 100644 --- a/cd.sh +++ b/cd.sh @@ -95,6 +95,7 @@ local text="" " done cd_write "${CD_DNS_FILE}" "${text}" + cd_cat "${CD_DNS_FILE}" } cd_set_packages_repositories () { @@ -246,6 +247,13 @@ cd_set_python_commands () { # +cd_cat () { + if [ -f "${1}" ] ; then + echo "$(realpath "${1}")" + cat "${1}" + fi +} + cd_install_package () { if [ "${1}" ] ; then case "${CD_OS_NAME}" in