Commit 790c6b09 by Santiago Ruano Rincón Committed by Stéphane Graber

templates/lxc-debian.in: Fix typo in calling dpkg with --print-foreign-architectures option

parent da9ca656
...@@ -444,7 +444,7 @@ EOF ...@@ -444,7 +444,7 @@ EOF
# If the container isn't running a native architecture, setup multiarch # If the container isn't running a native architecture, setup multiarch
if [ "${arch}" != "${hostarch}" ]; then if [ "${arch}" != "${hostarch}" ]; then
# Test if dpkg supports multiarch # Test if dpkg supports multiarch
if ! chroot "$rootfs" dpkg --print-foreign-architecture 2>&1; then if ! chroot "$rootfs" dpkg --print-foreign-architectures 2>&1; then
chroot "$rootfs" dpkg --add-architecture "${hostarch}" chroot "$rootfs" dpkg --add-architecture "${hostarch}"
fi fi
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment