]> git.ipfire.org Git - thirdparty/lxc.git/commit
templates: lxc-opensuse, use rpm to determine build version
authorJiri Slaby <jslaby@suse.cz>
Wed, 5 Aug 2015 08:32:54 +0000 (10:32 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 13 Aug 2015 20:01:59 +0000 (16:01 -0400)
commit05698d7c7a7ca8efe9914f1dfad69349adf746bc
tree2e3b7c22ca9663368e153d429176aa3b00e61995
parent4d7ca2e6b751136c1ab28dc8ec4ab1b0ae2b07a4
templates: lxc-opensuse, use rpm to determine build version

zypper info's output is not usable for several reasons:
* it is localized -- there is no "Version: " in my output
* it shows results both from the repo and local system

So use plain rpm to determine whether build is installed and if proper
version is in place.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
templates/lxc-opensuse.in