Commit fac9ac7a authored by Vitaly Lipatov's avatar Vitaly Lipatov

repl: skip x86_64 before usual versions

parent 170f045f
...@@ -80,7 +80,7 @@ internal_repl_list() ...@@ -80,7 +80,7 @@ internal_repl_list()
echo $FINDPKG echo $FINDPKG
# Hack for sort by last numbers: sort -n -t . -k 3 # Hack for sort by last numbers: sort -n -t . -k 3
( ls -1 $PKGREPLBASE/pkgrepl.$VENDOR*$ARCHEXT 2>/dev/null | \ ( ls -1 $PKGREPLBASE/pkgrepl.$VENDOR*$ARCHEXT 2>/dev/null | \
( test -n "$ARCHEXT" && cat || grep -v "x86_64" ) ; echo $FINDPKG ) | \ ( test -n "$ARCHEXT" && grep -v "$VENDOR$ARCHEXT\$" || grep -v "x86_64" ) ; echo $FINDPKG ) | \
sort -u | sort -n -t . -k 3 | grep "^$FINDPKG\$" -B1000 | sort -r sort -u | sort -n -t . -k 3 | grep "^$FINDPKG\$" -B1000 | sort -r
echo $REPLBASE.$VENDOR$ARCHEXT echo $REPLBASE.$VENDOR$ARCHEXT
[ "$VENDOR" = "alt" ] || echo "$REPLBASE.$TARGET$ARCHEXT " [ "$VENDOR" = "alt" ] || echo "$REPLBASE.$TARGET$ARCHEXT "
......
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