From 0b8936eb575443df95b6ee464c54d33c907fcbe3 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Wed, 3 Jun 2009 21:09:34 +0000 Subject: Apply patch from Felix Zielcke to use "dpkg --print-architecture" to avoid deprecation warning. Closes: #531680. r58720 --- debian/changelog | 7 +++++++ debootstrap | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 6aa9651..4a30f96 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +debootstrap (1.0.14) UNRELEASED; urgency=low + + * Apply patch from Felix Zielcke to use "dpkg + --print-architecture" to avoid deprecation warning. Closes: #531680. + + -- Otavio Salvador Wed, 03 Jun 2009 14:26:22 -0300 + debootstrap (1.0.13) unstable; urgency=low [ Otavio Salvador ] diff --git a/debootstrap b/debootstrap index 8ddac12..dfe3f8b 100755 --- a/debootstrap +++ b/debootstrap @@ -335,8 +335,8 @@ fi if [ "$ARCH" != "" ]; then true elif [ -x /usr/bin/dpkg ] && \ - /usr/bin/dpkg --print-installation-architecture >/dev/null 2>&1; then - ARCH=`/usr/bin/dpkg --print-installation-architecture` + /usr/bin/dpkg --print-architecture >/dev/null 2>&1; then + ARCH=`/usr/bin/dpkg --print-architecture` elif type udpkg >/dev/null 2>&1 && \ udpkg --print-architecture >/dev/null 2>&1; then ARCH=`/usr/bin/udpkg --print-architecture` -- cgit v0.12