Commit 04b9a072 authored by Vitaly Lipatov's avatar Vitaly Lipatov

support for i686

parent 2a5bdd6a
...@@ -70,7 +70,7 @@ print_tmp_sourceslist() ...@@ -70,7 +70,7 @@ print_tmp_sourceslist()
fi fi
test -r "$SLIST" || fatal "'$SLIST' - sources.list path from $1 is missed" test -r "$SLIST" || fatal "'$SLIST' - sources.list path from $1 is missed"
if [ "$DEFAULTARCH" = "x86_64" ] ; then if [ "$DEFAULTARCH" = "x86_64" ] ; then
cat "$SLIST" | sed -e "s|i586|$DEFAULTARCH|g" cat "$SLIST" | sed -e "s|i[56]86|$DEFAULTARCH|g"
else else
# Note: drop biarch 32bit on real 32bit # Note: drop biarch 32bit on real 32bit
cat "$SLIST" | sed -e "s|x86_64|$DEFAULTARCH|g" | grep -v "x86_32" cat "$SLIST" | sed -e "s|x86_64|$DEFAULTARCH|g" | grep -v "x86_32"
......
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