[SCM] primesense-nite-nonfree/master: use dpkg --print-architecture instead of uname to detect arch
kalfa at users.alioth.debian.org
kalfa at users.alioth.debian.org
Wed Jun 1 10:12:16 UTC 2011
The following commit has been merged in the master branch:
commit ab8c43799eec058e9f978a2119b1b1cde692ae7f
Author: Cosimo Alfarano <cosimo.alfarano at collabora.co.uk>
Date: Tue May 31 15:03:20 2011 +0100
use dpkg --print-architecture instead of uname to detect arch
diff --git a/update-primesense-nite-nonfree b/update-primesense-nite-nonfree
index f6d145a..b6b8d2e 100755
--- a/update-primesense-nite-nonfree
+++ b/update-primesense-nite-nonfree
@@ -167,7 +167,7 @@ case "$ACTION" in
[ "$fast" != "yes" ] || wgetoptions="$wgetoptions $wgetfast"
[ "$verbose" != "yes" ] || echo "wgetoptions=$wgetoptions"
- if [ $(uname -m) = "x86_64" ]; then
+ if [ $(dpkg --print-architecture) == "amd64" ]; then
downloadurl=${URL64}
else
downloadurl=${URL32}
--
primesense-nite-nonfree packaging
More information about the pkg-multimedia-commits
mailing list