summaryrefslogtreecommitdiff
path: root/hook-functions
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-09-03 14:27:24 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-09-03 14:27:24 -0700
commit9947b5783ff089f7c472ef97fa0b114e658fd5b6 (patch)
tree980a664a8927ced65c44d7c9db618c4d0586f91d /hook-functions
parent02292be04f50d7ee355ed1b1f2c38596f5cfb38a (diff)
downloadinitramfs-tools-9947b5783ff089f7c472ef97fa0b114e658fd5b6.tar.gz
initramfs-tools-9947b5783ff089f7c472ef97fa0b114e658fd5b6.zip
fix for squeeze dpkg
Diffstat (limited to 'hook-functions')
-rw-r--r--hook-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/hook-functions b/hook-functions
index e86f5f2..cfabe50 100644
--- a/hook-functions
+++ b/hook-functions
@@ -444,7 +444,7 @@ check_minkver()
curversion="${1}"
initdir="${2}"
if [ -z "${initdir}" ]; then
- DPKG_ARCH=$(dpkg --print-installation-architecture)
+ DPKG_ARCH=$(dpkg --print-architecture)
case ${DPKG_ARCH} in
ia64|hppa)
minversion="2.6.15"