]> 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>
Fri, 14 Aug 2015 17:28:01 +0000 (13:28 -0400)
commitfb6f3c66455f979c9a627a6a204c65aace3ea305
tree8061427e1667b789f53fe811e857f4a217f8164c
parentc901bfe7545361aa305fda6ad89b2e66d2daa1a9
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