From 14d5a5b9d0af2cb8b59120fc31ff2e9ba1dcd5b4 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 29 Jul 2024 23:27:31 +0200 Subject: [PATCH] =?UTF-8?q?dos2unix=20=E2=86=92=20tr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spcd.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/spcd.sh b/spcd.sh index bb49c9b..583a114 100644 --- a/spcd.sh +++ b/spcd.sh @@ -594,9 +594,6 @@ spcd_install_python() { # TODO move to Python spcd_install_packages() { - # dos2unix - spcd_step "Install dos2unix" - spcd_install_package "dos2unix" # epel spcd_step "Install EPEL" case "${SPCD_OS_ID}" in @@ -711,9 +708,7 @@ ${spcd_ipm__url} spcd_ipm__script="${spcd_ipm__root}/${spcd_ipm__name}/spcd.sh" if [ -f "${spcd_ipm__script}" ]; then spcd_ipm__file="${spcd_ipm__root}/spcd.sh" - printf "%s" "${SPCD}" >"${spcd_ipm__file}" - ls -l "${spcd_ipm__file}" - dos2unix "${spcd_ipm__file}" + printf "%s" "${SPCD}" | tr -d "\r" >"${spcd_ipm__file}" ls -l "${spcd_ipm__file}" sha256sum "${spcd_ipm__file}" sha256sum "${spcd_ipm__script}"