openobex: obex-check-device is in /usr/bin, not in /usr/sbin

This commit is contained in:
Enno Boland 2014-11-08 10:53:20 +01:00
parent d9943a330d
commit 64360b40f0

View file

@ -1,7 +1,7 @@
# Template file for 'openobex'
pkgname=openobex
version=1.7.1
revision=2
revision=3
wrksrc="${pkgname}-${version}-Source"
build_style=cmake
hostmakedepends="pkg-config cmake libxslt docbook-xsl"
@ -15,7 +15,10 @@ distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}-${version}-Source.tar.gz"
checksum=3b264665d90901ea4ff720332ffb9b6d1d8f67187463d3a3279caddc7205ea57
pre_configure() {
sed -i 's|MODE="660", GROUP="plugdev"|TAG+="uaccess"|' udev/openobex.rules.in
sed -i \
-e 's|MODE="660", GROUP="plugdev"|TAG+="uaccess"|' \
-e 's|@prefix@/sbin/obex-check-device|@prefix@/bin/obex-check-device|' \
udev/openobex.rules.in
}
openobex-devel_package() {