base-files: fix default pre-/postrm for packages with a dot
authorJonas Gorski <jogo@openwrt.org>
Tue, 19 May 2015 09:13:17 +0000 (09:13 +0000)
committerJonas Gorski <jogo@openwrt.org>
Tue, 19 May 2015 09:13:17 +0000 (09:13 +0000)
commitd0af85c9a5ea546aa8f7322d52c8d256c2895902
treeb13e62731e0f55e8cdf36256cfa6968f212654b6
parent241dbffcf9d4de1f95926c751e8f3259f988b000
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
package/base-files/files/lib/functions.sh