Revert "Ports: Fix dependency install if port name is not folder name"

This breaks ports whose name may come up in more than one port name.

This reverts commit cc08f82ddb.
This commit is contained in:
Tim Schumacher 2022-04-03 12:26:29 +02:00 committed by Linus Groh
parent 8070a98288
commit 4c9fbea987

View file

@ -491,7 +491,7 @@ package_install_state() {
installdepends() {
for depend in "${depends[@]}"; do
if [ -z "$(package_install_state $depend)" ]; then
(cd "$(dirname $(grep -E port=${depend} ../*/package.sh))" && ./package.sh --auto)
(cd "../$depend" && ./package.sh --auto)
fi
done
}