Ticket #1061 (closed defect: fixed)

Opened 10 years ago

Last modified 9 years ago

config-package-dev: undivert_unlink passes undivert_unlink_divert an extra argument

Reported by: geofft Owned by:
Priority: trivial Milestone: The Distant Future
Component: config-package-dev Keywords:
Cc: Fixed in version: config-package-dev 4.14
Upstream bug:

Description

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.

Change History

comment:1 Changed 9 years ago by jdreed

  • Component changed from -- to config-package-dev

comment:2 Changed 9 years ago by geofft

  • Status changed from new to committed

This is fixed in config-package-dev 4.14 in unstable. I've committed it to the Debathena repo (r25800) and will build for all our releases sometime this weekend.

comment:3 Changed 9 years ago by jdreed

  • Status changed from committed to development
  • Fixed in version set to config-package-dev 4.14

This, uh, has been in -development for a while.

comment:4 Changed 9 years ago by jdreed

  • Status changed from development to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.