git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6233c33
)
opkg_svn.bb: make postinst/postrm work for opkg-nogpg too
author
Jeremy Laine
<jeremy.laine@m4x.org>
Wed, 30 Apr 2008 09:49:01 +0000
(09:49 +0000)
committer
Jeremy Laine
<jeremy.laine@m4x.org>
Wed, 30 Apr 2008 09:49:01 +0000
(09:49 +0000)
packages/opkg/opkg_svn.bb
patch
|
blob
|
history
diff --git
a/packages/opkg/opkg_svn.bb
b/packages/opkg/opkg_svn.bb
index
81401dd
..
58aaf74
100644
(file)
--- a/
packages/opkg/opkg_svn.bb
+++ b/
packages/opkg/opkg_svn.bb
@@
-1,6
+1,6
@@
require opkg.inc
-PR = "r
3
"
+PR = "r
4
"
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
}