Diff from pkgfe-20070411.tar.gz to pkgfe-20090228.tar.gz

 

--- pkgfe-20070411/pkgfe Wed Apr 11 19:51:31 2007 +++ pkgfe-20090228/pkgfe Sat Feb 28 18:18:09 2009
@@ -567,14 +567,25 @@ # do_list() { - local command exitcode count + local portupgrade_extra_arg command exitcode count make_tempfile - command="${root_command_prefix}portversion -vl <" + pkg_info -E 'portupgrade>=2.4.6,2' > /dev/null + + exitcode=$? + + if ! cmd_failed $exitcode + then + portupgrade_extra_arg=F + fi + + + command="${root_command_prefix}portversion -${portupgrade_extra_arg}vl <" + showcmd "$command" $command > "$temp_file"
@@ -835,7 +846,7 @@ clear - "$PAGER_PROGRAM" "$temp_file" + $PAGER_PROGRAM "$temp_file" del_tempfile
@@ -1263,8 +1274,7 @@ for binary in portupgrade portinstall portversion \ dialog csup portsdb pkgdb portaudit pkg_deinstall \ - "$PAGER_PROGRAM" sed grep cat touch id uname cut \ - portsnap awk wc whereis + sed grep cat touch id uname cut portsnap awk wc whereis do which "$binary" > /dev/null