ntpclient: correct directory for adjtimex to be consistent with busybox
authorMike Westerhof <mwester@dls.net>
Fri, 20 Feb 2009 06:53:34 +0000 (00:53 -0600)
committerMike Westerhof <mwester@dls.net>
Fri, 20 Feb 2009 06:53:34 +0000 (00:53 -0600)
packages/ntpclient/ntpclient_2007_365.bb

index 89f5967..b7988ab 100644 (file)
@@ -4,7 +4,7 @@ AUTHOR = "Larry Doolittle <larry@doolittle.boa.org>"
 RDEPENDS = "busybox"
 SECTION = "admin"
 LICENSE = "GPLv2"
-PR = "r1"
+PR = "r2"
 # The ntpclient package uses version numbers that include an underscore :(
 PV = "2007_365"
 # ntpclient unpacks into a directory that doesn't include version info :(
@@ -33,7 +33,7 @@ do_install () {
 }
 
 pkg_postinst_${PN} () {
-       update-alternatives --install ${sbindir}/adjtimex adjtimex adjtimex.${PN} 100
+       update-alternatives --install ${base_sbindir}/adjtimex adjtimex adjtimex.${PN} 100
 }
 
 pkg_prerm_${PN} () {