build fixes

master
Marc Wäckerlin 9 years ago
parent de6b202dc6
commit fa492c8990
  1. 9
      resolve-debbuilddeps.sh

@ -15,15 +15,10 @@ SCHROOTNAME="$1"
sed 's,@[^@]*@, dummytext,g' debian/control.in > debian/control sed 's,@[^@]*@, dummytext,g' debian/control.in > debian/control
if test -n "${SCHROOTNAME}"; then if test -n "${SCHROOTNAME}"; then
schroot -c "${SCHROOTNAME}" -u root -d / -- apt-get install -y dpkg-dev software-properties-common schroot -c "${SCHROOTNAME}" -u root -d / -- apt-get install -y dpkg-dev
schroot -c "${SCHROOTNAME}" -u root -d / -- apt-add-repository universe || true
schroot -c "${SCHROOTNAME}" -u root -d / -- apt-add-repository multiverse || true
schroot -c "${SCHROOTNAME}" -u root -d / -- apt-get update
DEPS=$(schroot -c "${SCHROOTNAME}" -- dpkg-checkbuilddeps 2>&1 || true) DEPS=$(schroot -c "${SCHROOTNAME}" -- dpkg-checkbuilddeps 2>&1 || true)
else else
sudo apt-get install -y dpkg-dev software-properties-common sudo apt-get install -y dpkg-dev
sudo apt-add-repository universe || true
sudo apt-add-repository multiverse || true
sudo apt-get update sudo apt-get update
DEPS=$(dpkg-checkbuilddeps 2>&1 || true) DEPS=$(dpkg-checkbuilddeps 2>&1 || true)
fi fi

Loading…
Cancel
Save