summaryrefslogtreecommitdiff
path: root/dh_installchangelogs
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 04:41:40 +0000
committerjoey <joey>1999-08-17 04:41:40 +0000
commit2dc6b1e7754c88976aadefb20a4d387e8cf8b4ce (patch)
tree02a6de5435beb5a6a6945abdfee1052f322d4a7b /dh_installchangelogs
parent8828415f7d08350f236cc60d3c801ccd0ba199d6 (diff)
downloaddebhelper-2dc6b1e7754c88976aadefb20a4d387e8cf8b4ce.tar.gz
r43: Initial Import
Diffstat (limited to 'dh_installchangelogs')
-rwxr-xr-xdh_installchangelogs4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_installchangelogs b/dh_installchangelogs
index 7405daae..0dd09918 100755
--- a/dh_installchangelogs
+++ b/dh_installchangelogs
@@ -12,11 +12,11 @@ PATH=debian:$PATH:/usr/lib/debhelper
UPSTREAM=$1
-if [ "$NATIVE" -a "$UPSTREAM" ]; then
+if isnative && [ "$UPSTREAM" ]; then
error "Cannot specify an upstream changelog for a native debian package."
fi
-if [ "$NATIVE" ]; then
+if isnative; then
CHANGELOG_NAME=changelog
else
CHANGELOG_NAME=changelog.Debian