]> err.no Git - dpkg/commit
Allow in-place extraction of a tar archive
authorRaphael Hertzog <hertzog@debian.org>
Tue, 18 Mar 2008 10:33:49 +0000 (11:33 +0100)
committerRaphael Hertzog <hertzog@debian.org>
Tue, 18 Mar 2008 10:33:49 +0000 (11:33 +0100)
commit0c0057a27fecccab77d2b3cffa9a7d172846f0b4
tree8d4310be2c9d4bbcf094bc0df751a99f7e8f51e9
parentb03c0d9d44e766a47c90a3762419a0649e4436b3
Allow in-place extraction of a tar archive

* scripts/Dpkg/Source/Archive.pm: New "in_place" option to
extract an archive in the target directory instead of replacing
the whole target directory. Replace the logic to fix permissions
by fixperms() which is a...
* scripts/Dpkg/Source/Functions.pm (fixperms): new function to
fix permissions on a given directory so that they match the rights
expected through the umask.
scripts/Dpkg/Source/Archive.pm
scripts/Dpkg/Source/Functions.pm