fix lxc version compare

This commit is contained in:
yalh76 2019-06-25 01:15:37 +02:00
parent 3fff8f3b67
commit 32525d2206

View file

@ -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