diff options
| -rwxr-xr-x | meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts | 5 |
1 files changed, 4 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..ac9cee678b 100755 --- a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts +++ b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts | |||
| @@ -27,7 +27,10 @@ for pm in $backend_list; do | |||
| 27 | ;; | 27 | ;; |
| 28 | 28 | ||
| 29 | "ipk") | 29 | "ipk") |
| 30 | pm_installed=true | 30 | if [ -s "/var/lib/opkg/status" ]; then |
| 31 | pm_installed=true | ||
| 32 | break | ||
| 33 | fi | ||
| 31 | ;; | 34 | ;; |
| 32 | esac | 35 | esac |
| 33 | done | 36 | done |
