From 04dedbd2b127de9e96d71522c6a83a623686be38 Mon Sep 17 00:00:00 2001 From: Jeremy Laine Date: Wed, 30 Apr 2008 09:49:01 +0000 Subject: opkg_svn.bb: make postinst/postrm work for opkg-nogpg too --- packages/opkg/opkg_svn.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages') 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 } -- cgit v1.2.3