mirror of
https://github.com/YunoHost/yunohost_demo.git
synced 2024-09-03 19:56:44 +02:00
fix lxc version compare
This commit is contained in:
parent
3fff8f3b67
commit
32525d2206
1 changed files with 3 additions and 1 deletions
|
@ -22,7 +22,9 @@ dnsforce=0
|
||||||
main_iface=
|
main_iface=
|
||||||
dns=
|
dns=
|
||||||
|
|
||||||
new_lxc=${dpkg --compare-versions ${lxc-info --version} gt "3.0.0"}
|
lxc_current_version=$(lxc-info --version)
|
||||||
|
|
||||||
|
if $(dpkg --compare-versions "$lxc_current_version" "gt" "3.0.0"); then new_lxc=1; else new_lxc=0; fi
|
||||||
|
|
||||||
USER_DEMO=demo
|
USER_DEMO=demo
|
||||||
PASSWORD_DEMO=demo1234
|
PASSWORD_DEMO=demo1234
|
||||||
|
|
Loading…
Reference in a new issue