summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk
diff options
context:
space:
mode:
authorDexuan Cui <dexuan.cui@intel.com>2011-09-19 16:00:38 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-21 13:27:35 +0100
commitd1e6f49a6473df3c626100ba01b27485f735c33b (patch)
treef6e3a30376f8367fd9cfdd9e29274c55723e715c /meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk
parent9f1b4e5923c60cd4215b0ca4da2cab6245e54ccb (diff)
downloadopenembedded-core-contrib-d1e6f49a6473df3c626100ba01b27485f735c33b.tar.gz
deb packages support: switch from /var/dpkg to /var/lib/dpkg
[YOCTO #1086] The pach was backported from OE: http://git.openembedded.net/cgit.cgi/openembedded/commit/?id=41e0fbf792037f249d1b8d283b3de81718887c9f Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Diffstat (limited to 'meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk')
-rw-r--r--meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk b/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk
index 09a1400cf4..d92200b4f0 100644
--- a/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk
+++ b/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk
@@ -9,7 +9,7 @@
BEGIN {
rc=system("test -d /usr/dpkg/info/")
if (rc==0)
- pkgdir="/var/dpkg/info"
+ pkgdir="/var/lib/dpkg/info"
else
pkgdir="/usr/lib/opkg/info"
package=""