[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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

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@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.



Reply to: