build: ipkg-remove: fix source name / package confusion, optimize
authorFelix Fietkau <nbd@nbd.name>
Tue, 15 Jul 2025 13:26:16 +0000 (15:26 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 17 Jul 2025 08:46:39 +0000 (10:46 +0200)
commit787072906d5f5fd9e2f239fdf31ce8fa5ee28e05
tree4bba4454e8ba555361ca274f051d8f886fee5f81
parent37233122a79c511ff205fe94643b4425daea87fb
build: ipkg-remove: fix source name / package confusion, optimize

The script always gets passed the package name, not the source name.
Optimize for the default case where the package name matches the
filename prefix.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 471fd0a50281ce2a37fece402c4c5bd609b6d580)
scripts/ipkg-remove