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?

-- 
Jérémy Bobbio                        .''`. 
[email protected]                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   

Attachment: signature.asc
Description: Digital signature

Reply via email to