On 07/04/2013 09:46:22 AM, Jérémy Bobbio wrote:
> Karl O. Pinc:
> > --- dropbear.postrm 2012-02-23 07:47:05.000000000 -0600
> > +++ dropbear.postrm-new     2013-07-04 09:34:56.254791444 -0500
> > @@ -7,6 +7,11 @@
> >    rm -f /etc/dropbear/dropbear_dss_host_key
> >    rmdir --ignore-fail-on-non-empty /etc/dropbear
> >  fi
> > +if test -e /etc/initramfs-tools/etc/dropbear; then
> > +  rm -f /etc/initramfs-tools/etc/dropbear/dropbear_rsa_host_key
> > +  rm -f /etc/initramfs-tools/etc/dropbear/dropbear_dss_host_key
> > +  rmdir --ignore-fail-on-non-empty
> /etc/initramfs-tools/etc/dropbear
> > +fi
> >  update-rc.d dropbear remove >/dev/null
> >  rm -f /etc/default/dropbear
> >  rm -rf /etc/dropbear/supervise /etc/dropbear/log/supervise
> 
> Why is the 'test -e' construct needed?

Good point.  It's not.

I did a blind cut and paste of the /etc/dropbear code
immediately above.  If you don't like the test -e
you'll probably want to change that too.

Regards,


Karl <k...@meme.com>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to