summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Laine <jeremy.laine@m4x.org>2008-04-30 09:49:01 +0000
committerJeremy Laine <jeremy.laine@m4x.org>2008-04-30 09:49:01 +0000
commit04dedbd2b127de9e96d71522c6a83a623686be38 (patch)
tree0802ec81573e7ccfc43c706c01b898b9e0bc5015
parent6233c336cf00313f4e6d3333d6cdcd235a21b384 (diff)
opkg_svn.bb: make postinst/postrm work for opkg-nogpg too
-rw-r--r--packages/opkg/opkg_svn.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/opkg/opkg_svn.bb b/packages/opkg/opkg_svn.bb
index 81401dda14..58aaf748ab 100644
--- a/packages/opkg/opkg_svn.bb
+++ b/packages/opkg/opkg_svn.bb
@@ -1,6 +1,6 @@
require opkg.inc
-PR = "r3"
+PR = "r4"
PACKAGES =+ "libopkg-dev libopkg"
@@ -12,7 +12,7 @@ FILES_libopkg = "${libdir}/*.so.*"
OPKG_INIT_POSITION = "98"
OPKG_INIT_POSITION_slugos = "41"
-pkg_postinst_opkg () {
+pkg_postinst_${PN} () {
#!/bin/sh
if [ "x$D" != "x" ]; then
install -d ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d
@@ -26,7 +26,7 @@ fi
update-alternatives --install ${bindir}/opkg opkg ${bindir}/opkg-cl 100
}
-pkg_postrm_opkg () {
+pkg_postrm_${PN} () {
#!/bin/sh
update-alternatives --remove opkg ${bindir}/opkg-cl
}