sed/cat
This commit is contained in:
parent
2ac9ad2ff2
commit
cea7709998
1 changed files with 1 additions and 1 deletions
2
cd.sh
2
cd.sh
|
@ -292,7 +292,6 @@ local file
|
|||
"|^mirrorlist|# mirrorlist|" \
|
||||
"|${CD_DEFAULT_REPO_ALMA}|${CD_OS_REPO}|" \
|
||||
"|^# baseurl|baseurl|"
|
||||
cd_cat "${file}"
|
||||
;;
|
||||
"${CD_OS_ALPINE}")
|
||||
file="/etc/apk/repositories"
|
||||
|
@ -544,6 +543,7 @@ local file
|
|||
for expression in "${@}" ; do
|
||||
sed --in-place "s${expression}g" "${file}" || exit
|
||||
done
|
||||
cd_cat "${file}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue