Commit 06aece45 authored by Mattia Rizzolo's avatar Mattia Rizzolo

pbuilder script: syntax error

parent cc704a2b
...@@ -54,10 +54,10 @@ sett() { ...@@ -54,10 +54,10 @@ sett() {
OTHER+="--debootstrap qemu-debootstrap" OTHER+="--debootstrap qemu-debootstrap"
;; ;;
arm64) arm64)
(dpkg --print-foreign-architecturs | grep arm64 > /dev/null 2>&1 && \ (dpkg --print-foreign-architectures | grep arm64 > /dev/null 2>&1 && \
dpkg -s "libselinux1:arm64" > /dev/null 2>&1) || \ dpkg -s "libselinux1:arm64" > /dev/null 2>&1) || (\
echo "Please enable arm64 foreign architeture in dpkg, and install \ echo "Please enable arm64 foreign architeture in dpkg, and install \
libselinux1:arm64." && exit 1 libselinux1:arm64." && exit 1)
dpkg -s "qemu-system-arm" > /dev/null 2>&1 || \ dpkg -s "qemu-system-arm" > /dev/null 2>&1 || \
sudo apt-get install qemu-system-arm sudo apt-get install qemu-system-arm
if [ "$TYPE" = "ubuntu" ] ; then if [ "$TYPE" = "ubuntu" ] ; then
......
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