Commit dd738aae authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-downgrade: add preferences for main repo too

parent c9e0294e
......@@ -23,7 +23,7 @@ __epm_add_alt_apt_downgrade_preferences()
{
[ -r /etc/apt/preferences ] && fatal "/etc/apt/preferences already exists"
cat <<EOF | sudocmd tee /etc/apt/preferences
# main repo
# classic repo
Package: *
Pin: release c=classic
Pin-Priority: 1001
......@@ -33,10 +33,15 @@ Package: *
Pin: release c=addon
Pin-Priority: 1101
# main repo
Package: *
Pin: release c=main
Pin-Priority: 1201
# overload with test (task) repo
Package: *
Pin: release c=task
Pin-Priority: 1201
Pin-Priority: 1301
EOF
}
......
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