]> git.ipfire.org Git - thirdparty/lxc.git/commit
templates: lxc-opensuse, use rpm to determine build version 615/head
authorJiri Slaby <jslaby@suse.cz>
Wed, 5 Aug 2015 08:32:54 +0000 (10:32 +0200)
committerJiri Slaby <jslaby@suse.cz>
Wed, 5 Aug 2015 08:32:54 +0000 (10:32 +0200)
commitfe89217a880dafc8da0357fa1444e24d0bf9f202
tree54bde1d80d89bde211b9b761f50c16c9d2b21916
parente00f9e4e7ab5a76cfd4068e09579f9f471666a90
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