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

Re: Uploaded dpkg-mountable 0.7 (source i386) to erlangen



On Sat, 9 May 1998 andy.mortimer@zetnet.co.uk wrote:

> Changes: 
>  dpkg-mountable (0.7) unstable frozen; urgency=low

>    * Fix the location of the autoup.sh script.

curious.  does it use autoup or just mention it?



did you include my patch to fix the "allow overwrite" option? it's
a simple one line addition....i've just made the change manually
on every system i have installed it on. it is needed on systems
running recent versions of dpkg (since 1.4.0.19 i believe) which have
--refuse-overwrite by default.  The previous behaviour was to have
--force-overwrite as the default.  My patch makes it work correctly
regardless of what dpkg's default behaviour is.

i didn't post it directly to you, but to debian-devel back in Feb.


here's what i wrote back then:

I had to modify /usr/lib/dpkg/methods/install after dpkg got upgraded to
1.4.0.20 so that the "allowoverwrite=1" option still worked.



--- /usr/lib/dpkg/methods/mountable/install.orig	Thu Feb 26 09:09:55 1998
+++ /usr/lib/dpkg/methods/mountable/install	Thu Feb 26 09:10:11 1998
@@ -329,6 +329,7 @@
 
     my $dpkgargs="--admindir=$vardir --refuse-downgrade --skip-same-version --auto-deconfigure --unpack";
     $dpkgargs = "--refuse-overwrite ".$dpkgargs unless $::allowoverwrite;
+    $dpkgargs = "--force-overwrite ".$dpkgargs if $::allowoverwrite;
     if (!syscmd("$bindir/logcmd -aq -f $::logfile -- dpkg $dpkgargs $flist")) {
 	# parse the list of problematical files, and remove them from our list,
 	# then carry on.


craig

--
craig sanders


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

--
craig sanders


--
To UNSUBSCRIBE, email to debian-devel-changes-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: