parent
79195866d1
commit
dafcf5df49
1 changed files with 6 additions and 1 deletions
7
spcd.sh
7
spcd.sh
|
@ -594,6 +594,9 @@ spcd_install_python() {
|
||||||
|
|
||||||
# TODO move to Python
|
# TODO move to Python
|
||||||
spcd_install_packages() {
|
spcd_install_packages() {
|
||||||
|
# dos2unix
|
||||||
|
spcd_step "Install dos2unix"
|
||||||
|
spcd_install_package "dos2unix"
|
||||||
# epel
|
# epel
|
||||||
spcd_step "Install EPEL"
|
spcd_step "Install EPEL"
|
||||||
case "${SPCD_OS_ID}" in
|
case "${SPCD_OS_ID}" in
|
||||||
|
@ -708,7 +711,9 @@ ${spcd_ipm__url}
|
||||||
spcd_ipm__script="${spcd_ipm__root}/${spcd_ipm__name}/spcd.sh"
|
spcd_ipm__script="${spcd_ipm__root}/${spcd_ipm__name}/spcd.sh"
|
||||||
if [ -f "${spcd_ipm__script}" ]; then
|
if [ -f "${spcd_ipm__script}" ]; then
|
||||||
spcd_ipm__file="${spcd_ipm__root}/spcd.sh"
|
spcd_ipm__file="${spcd_ipm__root}/spcd.sh"
|
||||||
echo "${SPCD}" | tr -d "\r" > "${spcd_ipm__file}"
|
echo "${SPCD}" > "${spcd_ipm__file}"
|
||||||
|
ls -l "${spcd_ipm__file}"
|
||||||
|
dos2unix "${spcd_ipm__file}"
|
||||||
ls -l "${spcd_ipm__file}"
|
ls -l "${spcd_ipm__file}"
|
||||||
sha256sum "${spcd_ipm__file}"
|
sha256sum "${spcd_ipm__file}"
|
||||||
sha256sum "${spcd_ipm__script}"
|
sha256sum "${spcd_ipm__script}"
|
||||||
|
|
Loading…
Reference in a new issue