base-system-busybox: replaces -> conflicts to forbid installation on a running system.

This commit is contained in:
Juan RP 2014-09-09 17:30:54 +02:00
parent 2eb3a368ff
commit db354451f1

View file

@ -1,7 +1,7 @@
# Build template for 'base-system-busybox'.
pkgname=base-system-busybox
version=1.22.1
revision=4
revision=5
wrksrc="busybox-${version}"
homepage="http://www.busybox.net"
hostmakedepends="perl"
@ -21,7 +21,7 @@ _FEATURES="acpid coreutils cpio dash diffutils dosfstools findutils awk
traceroute util-linux wget which whois xz"
for f in ${_FEATURES}; do
provides+="${f}-${version}_${revision} "
replaces+="${f}>=0 "
conflicts+="${f}>=0 "
done
pre_build() {