diff options
author | André Draszik <git@andred.net> | 2015-07-24 13:48:47 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-31 10:31:01 +0100 |
commit | 48d735a8938ec7c49754a57019182ebcd9a2d8b6 (patch) | |
tree | 36fdd3f56d5cd6013b10b7bdc9e2a65e14ac047d /meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts | |
parent | 5f3f4196988675e9be5aea8eac56687641b90c10 (diff) | |
download | openembedded-core-contrib-48d735a8938ec7c49754a57019182ebcd9a2d8b6.tar.gz |
run-postinsts: use ${localstatedir} instead of hardcoding /var/lib
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts')
-rwxr-xr-x | meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts | 2 |
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 ac9cee678b..58ea85e114 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 case $pm in "deb") - if [ -s "/var/lib/dpkg/status" ]; then + if [ -s "#LOCALSTATEDIR#/lib/dpkg/status" ]; then pm_installed=true break fi |