Commit 7d4c775a by Santiago Ruano Rincón Committed by Evgeni Golov

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

parent 759e73a5
...@@ -542,7 +542,7 @@ EOF ...@@ -542,7 +542,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 [ "$interpreter" = "" -a "${arch}" != "${hostarch}" ]; then if [ "$interpreter" = "" -a "${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