summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/pbuild.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/pbuild.sh b/bin/pbuild.sh
index ce2f43c..860fa1e 100755
--- a/bin/pbuild.sh
+++ b/bin/pbuild.sh
@@ -384,10 +384,16 @@ do
;;
graograman-backports)
- if grep -qs dh-sequence-movetousr debian/control
+ if grep -qs 'debhelper (>= 13.14' debian/control || \
+ grep -qs dh-sequence-movetousr debian/control
then
sudo apt install -t graograman-backports -y debhelper
fi
+
+ if grep -qs 'dpkg-dev (>= 1.22' debian/control
+ then
+ sudo apt install -t graograman-backports -y dpkg-dev
+ fi
;;
esac