From 4a484ff6a53148da7fef2670fa3c4c808688e940 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 7 May 2020 15:15:31 +0000 Subject: [PATCH] Bit of cleaning in build-sources --- scripts/pbuilder/build-sources | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/scripts/pbuilder/build-sources b/scripts/pbuilder/build-sources index 3518d44..23c16ff 100755 --- a/scripts/pbuilder/build-sources +++ b/scripts/pbuilder/build-sources @@ -4,23 +4,15 @@ PKG_PATH=$1 apt-get -q update -VERSION=$(sed 's/\..*//' /etc/debian_version) -if [[ "$VERSION" == '7' ]]; then - apt-get -q -y -t wheezy-backports install devscripts -fi - cd $PKG_PATH -echo \ -"******************************************************************************" +echo "--------------------------------" echo "Installing build-dependencies..." -mk-build-deps -i -r -t "apt-get --no-install-recommends -y" \ - || (echo "Error." && exit 1) +mk-build-deps -i -r -t "apt-get --no-install-recommends -y" || exit 1 rm -f *build-deps*_all.deb -echo \ -"******************************************************************************" +echo "--------------------------------" echo "Creating source package..." # Creating source package without signing it