Merge branch 'master' into toutatis
This commit is contained in:
commit
502798083a
1 changed files with 2 additions and 2 deletions
|
|
@ -87,7 +87,7 @@ LIST=$(echo $LIST | cut -d" " -f2-)
|
||||||
while [ "$LIST" != "EOL" ]
|
while [ "$LIST" != "EOL" ]
|
||||||
do
|
do
|
||||||
TEST=$(echo $LIST | cut -d" " -f1)
|
TEST=$(echo $LIST | cut -d" " -f1)
|
||||||
dpkg --compare-versions $HI lt $TEST && HI=$TEST
|
dpkg --compare-versions $HI lt $TEST 2>/dev/null && HI=$TEST
|
||||||
LIST=$(echo $LIST | cut -d" " -f2-)
|
LIST=$(echo $LIST | cut -d" " -f2-)
|
||||||
done
|
done
|
||||||
echo $HI
|
echo $HI
|
||||||
|
|
@ -101,7 +101,7 @@ current=$( higher $LIST)
|
||||||
LIST=$(egrep ^${package}_ $UPSTREAM)
|
LIST=$(egrep ^${package}_ $UPSTREAM)
|
||||||
upstream=$( higher $LIST)
|
upstream=$( higher $LIST)
|
||||||
|
|
||||||
if dpkg --compare-versions $current lt $upstream
|
if dpkg --compare-versions $current lt $upstream 2>/dev/null
|
||||||
then
|
then
|
||||||
|
|
||||||
# echo Current version in $DISTRO: $current 1>&2
|
# echo Current version in $DISTRO: $current 1>&2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue