The following commit has been merged in the master branch:
commit 65a0572e3fb08a218ca7120d530f9f64799bcaec
Author: Raphaël Hertzog <[email protected]>
Date:   Thu Oct 1 23:40:54 2009 +0200

    dselect-multicd: replace/drop obsolete dpkg commands
    
    dpkg --print-installation-architecture is deprecated in favor
    of dpkg --print-architecture. dpkg --forget-old-unavail is obsolete.

diff --git a/dselect/methods/multicd/install b/dselect/methods/multicd/install
index 1eb577c..50fb07f 100755
--- a/dselect/methods/multicd/install
+++ b/dselect/methods/multicd/install
@@ -29,7 +29,7 @@ cd "$vardir/methods/$method"
 
 #debug() { echo "DEBUG: $@"; }
 debug() { true; }
-iarch=`dpkg --print-installation-architecture`
+iarch=`dpkg --print-architecture`
 ismulti() { test -e "$1/.disk/info" || test -e "$1$2/.disk/info"; }
 
 # 1/ mountpoint
diff --git a/dselect/methods/multicd/setup b/dselect/methods/multicd/setup
index ce6e7fc..fc0be54 100755
--- a/dselect/methods/multicd/setup
+++ b/dselect/methods/multicd/setup
@@ -32,7 +32,7 @@ test -d "$vardir/methods/$method" || mkdir 
"$vardir/methods/$method"
 cd "$vardir/methods/$method"
 tp=/tmp/ddm$$
 
-iarch=`dpkg --print-installation-architecture`
+iarch=`dpkg --print-architecture`
 dist=stable
 
 xit=1
diff --git a/dselect/methods/multicd/update b/dselect/methods/multicd/update
index 05f5304..ea8eca1 100755
--- a/dselect/methods/multicd/update
+++ b/dselect/methods/multicd/update
@@ -20,7 +20,7 @@ set -e
 vardir="$1"
 method=$2
 option=$3
-iarch=`dpkg --print-installation-architecture`
+iarch=`dpkg --print-architecture`
 
 cd "$vardir/methods/$method"
 
@@ -124,8 +124,6 @@ done
 
 cp -f $vardir/available $vardir/methods/$method
 
-dpkg --forget-old-unavail
-
 echo -n 'Update OK.  Hit RETURN.  '
 read response
 

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to