base-files: fix default pre-/postrm for packages with a dot
Instead of stripping everything after the first dot, strip everything
after the last dot.
This fixes pre-/postrm actions for packages with a dot in their name,
like libusb-1.0.
Fixes #19668.
Signed-off-by:
Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45702
Loading
Please register or sign in to comment