if [ -n "$status" ]; then
printf "and P.status = '%s'\n" "$status"
fi
- printf 'order by package,version collate vercmp, release, path\n'
+ printf 'order by PF.package, PF.version collate vercmp, PF.release, PF.path\n'
printf ';\n'
} | zpm shell $pkgfile
#} | cat