use 'dpkg --print-architecture'
authorsiretart <siretart@b3059339-0415-0410-9bf9-f77b7e298cf2>
Wed, 13 Oct 2010 15:02:00 +0000 (15:02 +0000)
committersiretart <siretart@b3059339-0415-0410-9bf9-f77b7e298cf2>
Wed, 13 Oct 2010 15:02:00 +0000 (15:02 +0000)
the option --print-installation-architecture is deprecated

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@32484 b3059339-0415-0410-9bf9-f77b7e298cf2

TOOLS/binary_codecs.sh

index 410bede..79fb0da 100755 (executable)
@@ -13,7 +13,7 @@ CODECDIR=/usr/lib/codecs
 PREFDIR=/var/lib/mplayer/prefs
 MYSITE='http://people.debian.org/~mennucc1/mplayer'
 
-dpkgarch=$(dpkg --print-installation-architecture)
+dpkgarch=$(dpkg --print-architecture)
 
 [ -d $PREFDIR  ] || mkdir -v $PREFDIR
 [ -d $CODECDIR ] || mkdir -v $CODECDIR