Commit 549e6645 authored by Vitaly Lipatov's avatar Vitaly Lipatov

alt: fix c? <-> M?0?

parent 8964adfb
......@@ -82,13 +82,13 @@ set_binaryrepo()
# M60P -> p6
get_altdistr_version()
{
echo "$1" | sed -e "s|M\([5-9]\)0C|cert\1|g" -e "s|M\([5-9]\)0P|p\1|g" -e "s|M\([5-9]\)0T|t\1|g" -e "s|SS|sisyphus|g" -e "s|DD|daedalus|g" -e "s|Sisyphus|sisyphus|g"
echo "$1" | sed -e "s|M\([5-9]\)0C|c\1|g" -e "s|M\([5-9]\)0P|p\1|g" -e "s|M\([5-9]\)0T|t\1|g" -e "s|SS|sisyphus|g" -e "s|DD|daedalus|g" -e "s|Sisyphus|sisyphus|g"
}
# p6 -> M60P
get_altdistr_mod()
{
echo "$1" | sed -e "s|Sisyphus|SS|gi" -e "s|p\([5-9]\)|M\10P|g" -e "s|cert\([6-9]\)|M\10C|g" -e "s|t\([6-9]\)|M\10T|g"
echo "$1" | sed -e "s|Sisyphus|SS|gi" -e "s|p\([5-9]\)|M\10P|g" -e "s|c\([6-9]\)|M\10C|g" -e "s|t\([6-9]\)|M\10T|g"
}
# TODO: include in sisyphus_check
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment