Bug#826334: dget: removes existing dir by default without asking

Adam D. Barratt adam at adam-barratt.org.uk
Sat Jun 4 16:43:41 UTC 2016


Control: reassign -1 dpkg-dev 1.17.27
Control: affects -1 devscripts
Control: retitle -1 dpkg-source -x overwrites existing directories

On Sat, 2016-06-04 at 18:08 +0200, ydirson at free.fr wrote:
> dget unpacks the downloaded source by default, even if the target directory was
> pre-existing.  Moreover, it does not just unpack it above the pre-existing dir,
> but removes it first, together with all the other files it may contain !

Nope. dget simply calls "dpkg-source -x". The effect is trivially
reproducible by calling "dpkg-source -x somepackage.dsc
an-existing-directory" without needing to involve dget at all.

Regards,

Adam



More information about the devscripts-devel mailing list