- # remaining arguments are paths to the pkgs files
-
- # grab regular descriptions
- all=$(grep -v '^#' "$@" | grep --regexp="^${keyword}:" | sed -e "s,${keyword}:,,")
- # grab additions
- add=$(grep -v '^#' "$@" | grep --regexp="^${keyword}+${fcdistro}:" | sed -e "s,${keyword}+${fcdistro}:,,")
- # grab exclusions
- sub=$(grep -v '^#' "$@" | grep --regexp="^${keyword}-${fcdistro}:" | sed -e "s,${keyword}-${fcdistro}:,,")
-
- for i in $all $add; do
- for exclude in $sub; do
- [ "$i" = "$exclude" ] && continue 2
- done
- echo "$i " | sed -e "s,@arch@,$pl_DISTRO_ARCH,g" -e "s,@fcdistro@,$fcdistro,g" -e "s,@pldistro@,$pldistro,g"
- done
- return 0
+
+ echo 1>&2 "pl_parsePkgs: using -a $target_arch -f $fcdistro -d $pldistro $keyword $@"
+ pkgs.py -a $target_arch -f $fcdistro -d $pldistro $keyword "$@"