summaryrefslogtreecommitdiff
path: root/dh_testversion.in
diff options
context:
space:
mode:
Diffstat (limited to 'dh_testversion.in')
-rw-r--r--dh_testversion.in23
1 files changed, 0 insertions, 23 deletions
diff --git a/dh_testversion.in b/dh_testversion.in
deleted file mode 100644
index 9e2f14ef..00000000
--- a/dh_testversion.in
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh -e
-#
-# Debhelper version check.
-
-# Current version of debhelper is:
-DH_VERSION=#DEBHELPER_VERSION#
-
-PATH=debian:$PATH:/usr/lib/debhelper
-. dh_lib
-
-if [ "$1" -a "$2" ]; then
- compare=$1
- ver=$2
-elif [ "$1" ]; then
- compare=">="
- ver=$1
-fi
-
-if [ "$compare" -a "$ver" ] ; then
- if ! dpkg --compare-versions $DH_VERSION $compare $ver; then
- error "debhelper version $DH_VERSION is installed, but a version $compare $ver is needed to build this package."
- fi
-fi