[8336] in athena10

home help back first fref pref prev next nref lref last post

[Debathena] #1061: config-package-dev: undivert_unlink passes

daemon@ATHENA.MIT.EDU (Debathena Trac)
Thu Aug 25 05:35:09 2011

MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
From: "Debathena Trac" <debathena@MIT.EDU>
Cc: debathena@mit.edu
To: geofft@mit.edu
Date: Thu, 25 Aug 2011 09:35:01 -0000
Reply-To: 
Message-ID: <043.167d9bf57a53941e54897165b19baf32@mit.edu>
Content-Transfer-Encoding: 8bit

#1061: config-package-dev: undivert_unlink passes undivert_unlink_divert an extra
argument---------------------+------------------------------------------------------
 Reporter:  geofft   |       Owner:                    
     Type:  defect   |      Status:  new               
 Priority:  trivial  |   Milestone:  The Distant Future
Component:  --       |    Keywords:                    
 See_also:           |  
---------------------+------------------------------------------------------ undivert_unlink calls
 {{{
     undivert_unlink_divert "$file" "$package"
 }}}
 but undivert_unlink_divert is
 {{{
 undivert_unlink_divert()
 {
     file="$1"
     if [ ! -L "$file" ] && [ ! -e "$file" ]; then
         dpkg-divert --remove --rename --package "$package" "$file"
     else
         echo "Not removing diversion of $file by $package" >&2
     fi
 }
 }}}
 and so doesn't ever use the second argument.
-- Ticket URL: <http://debathena.mit.edu/trac/ticket/1061>Debathena <http://debathena.mit.edu/>MIT Debathena Project

home help back first fref pref prev next nref lref last post