• Colin Watson's avatar
    Less intrusive chdir(/) for maintscripts · 8178fd6f
    Colin Watson authored
    "Change directory to / before executing maintainer scripts" from 1.5.62
    was too intrusive due to changing Debconf::ConfModule, and broke some
    existing maintainer scripts that e.g. ran ucf with relative paths.
    Instead, just chdir to / before running maintainer scripts in
    dpkg-reconfigure and chdir back afterwards (closes: #608648).