summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
diff options
context:
space:
mode:
authorAndré Draszik <git@andred.net>2015-07-24 13:48:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-09 16:37:45 -0700
commit01a50376df89291d2d350d22c8d9de49604a0933 (patch)
tree432d1950b942c76033a3436add3edc4df948cf2c /meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
parent7e9d0f0c7de9dfd14f480d44c0e38cf343add2ce (diff)
downloadpoky-01a50376df89291d2d350d22c8d9de49604a0933.tar.gz
run-postinsts: use ${localstatedir} instead of hardcoding /var/lib
(From OE-Core rev: 48d735a8938ec7c49754a57019182ebcd9a2d8b6) (From OE-Core rev: dcfe46aab5ceae780dda52c5bfae38b8918c4614) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts')
-rwxr-xr-xmeta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
index f547a7b7bd..7f7779747a 100755
--- a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
+++ b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
@@ -20,7 +20,7 @@ for pm in $backend_list; do
20 20
21 case $pm in 21 case $pm in
22 "deb") 22 "deb")
23 if [ -s "/var/lib/dpkg/status" ]; then 23 if [ -s "#LOCALSTATEDIR#/lib/dpkg/status" ]; then
24 pm_installed=true 24 pm_installed=true
25 break 25 break
26 fi 26 fi