opkg: compare-versions doesn't need any state
authorRoss Burton <ross.burton@intel.com>
Tue, 1 Mar 2016 16:54:26 +0000 (16:54 +0000)
committerJo-Philipp Wich <jo@mein.io>
Wed, 15 Mar 2017 02:12:51 +0000 (03:12 +0100)
commit9fbedd85bb595cb4069d3ab5a982f4e9c2b05f40
treebb92dcd72df5604c369226c9266cb2776388b76f
parent45b54f61deac61413cfb38c43e040deb0ef89670
opkg: compare-versions doesn't need any state

compare-versions doesn't need lock files created and databases opened, so don't.

Signed-off-by: Ross Burton <ross.burton@intel.com>
libopkg/opkg_cmd.c
src/opkg-cl.c