Commit d2f892ab authored by Michael Shigorin's avatar Michael Shigorin

rescue: error-proof 60-apt

It's not a blocker if enabling online repos fails; we should provide a better handling of warnings with e.g. a summary of those after build.
parent 4298315d
#!/bin/sh
# enable online repository even more unconditionally
sed -i "s,^#\(rpm \[alt\] http.*\),\1," "/etc/apt/sources.list.d/yandex.list"
sed -i "s,^#\(rpm \[alt\] http.*\),\1," "/etc/apt/sources.list.d/yandex.list" || echo "** warning: unable to enable online repos" >&2
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