Permalink
Browse files

do not pick packages with overlapping names

All the packages that have as part their name the exact name and version 
of a chosen package are also picked for installation. ie when picking
"super-pkg-1.23", "options-surer-pkg-1.23" is also picked for installation.
NOTE: The change is barely untested. Keep an eye.
  • Loading branch information...
mavrothal committed Oct 23, 2017
1 parent aaa115a commit 4339f64fc850a041ad52100fde4f6c8da4fb7fbc
Showing with 1 addition and 1 deletion.
  1. +1 −1 woof-code/rootfs-skeleton/usr/local/petget/pkg_chooser.sh
@@ -133,7 +133,7 @@ add_item (){
echo 0 > /tmp/petget/install_status_percent
echo "$(gettext "Calculating...")" > /tmp/petget/install_status
fi
NEWPACKAGE="$(grep -F $TREE1 /tmp/petget/filterpkgs.results.post)"
NEWPACKAGE="$(grep ^$TREE1 /tmp/petget/filterpkgs.results.post)"
echo "$NEWPACKAGE" >> /tmp/pkgs_to_install
add_item2 &
fi

0 comments on commit 4339f64

Please sign in to comment.