cd_cat
Some checks failed
/ job (push) Failing after 3s

This commit is contained in:
Marc Beninca 2024-04-28 12:35:43 +02:00
parent 31daabef65
commit d19a657dac
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

8
cd.sh
View file

@ -95,6 +95,7 @@ local text=""
" "
done done
cd_write "${CD_DNS_FILE}" "${text}" cd_write "${CD_DNS_FILE}" "${text}"
cd_cat "${CD_DNS_FILE}"
} }
cd_set_packages_repositories () { 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 () { cd_install_package () {
if [ "${1}" ] ; then if [ "${1}" ] ; then
case "${CD_OS_NAME}" in case "${CD_OS_NAME}" in