diff --git a/srcpkgs/lxc/files/lxc-void b/srcpkgs/lxc/files/lxc-void index 32f0b78c677..0f3db7a24bd 100755 --- a/srcpkgs/lxc/files/lxc-void +++ b/srcpkgs/lxc/files/lxc-void @@ -104,9 +104,9 @@ install_void() { hostname=$3 arch=$4 - [ "${arch}" != "$(uname -m)" ] && different_arch=true + [ "${arch}" != "$(uname -m)" ] && different_arch=1 - if [ "${different_arch}" = "true" ]; then + if [ -n "${different_arch}" ]; then export XBPS_ARCH=${arch} fi diff --git a/srcpkgs/lxc/template b/srcpkgs/lxc/template index c851537691b..fb6b1a258b2 100644 --- a/srcpkgs/lxc/template +++ b/srcpkgs/lxc/template @@ -3,7 +3,7 @@ _desc="Linux Containers" pkgname=lxc version=1.0.5 -revision=5 +revision=6 build_style=gnu-configure configure_args="--enable-doc --enable-seccomp --disable-apparmor --with-distro=none --with-rootfs-path=/var/lxc/containers --with-log-path=/var/lxc/log"