aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/dpkg/run-postinsts/run-postinsts')
-rwxr-xr-xmeta/recipes-devtools/dpkg/run-postinsts/run-postinsts4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts b/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts
index 584a92ebfd..5f6442cbe3 100755
--- a/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts
+++ b/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts
@@ -8,8 +8,8 @@
PKGSYSTEM=/var/lib/dpkg
if [ ! -e $PKGSYSTEM/status ]; then
- if [ -e /usr/lib/opkg/status ]; then
- PKGSYSTEM=/usr/lib/opkg
+ if [ -e /var/lib/opkg/status ]; then
+ PKGSYSTEM=/var/lib/opkg
else
echo "No package system found"
exit 1