Skip to content
Snippets Groups Projects

5419 update check packages2install

Merged Hahn Axel (hahn) requested to merge 5419-update-check-packages2install into master
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -26,7 +26,8 @@ function yum.getUpdates(){
function yum.getPackageList(){
local iStart=3
# detect number of line containing "Obsoleting Packages"
typeset -i iEnd=$( echo "$packagemanOut" | grep -n '^Obsoleting Packages' | cut -f 1 -d ':' )-1
typeset -i local iEnd
iEnd=$( echo "$packagemanOut" | grep -n '^Obsoleting Packages' | cut -f 1 -d ':' )-1
local sEnd=$iEnd
test "$iEnd" = "-1" && sEnd='$'
Loading