]> git.ipfire.org Git - thirdparty/openwrt.git/commit
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>
Tue, 15 Jul 2025 18:48:45 +0000 (20:48 +0200)
commit471fd0a50281ce2a37fece402c4c5bd609b6d580
tree7d307bd05251add41b76bebc80c981a7623b45d6
parent06267823a39c812e6ebea50264b0367ed8473ba4
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>
scripts/ipkg-remove