On Mon, Feb 6, 2012 at 09:13, Phil Blundell <[email protected]> wrote: > On Mon, 2012-02-06 at 11:03 +0000, Otavio Salvador wrote: > > +pkg_postrm_dhcp-server() { > > + rm -f $D/${localstatedir}/lib/dhcp/dhcpd.leases > > + rm -f $D/${localstatedir}/lib/dhcp/dhcpd6.leases > > + rmdir $D/${localstatedir}/lib/dhcp > > +} > > + > > +pkg_postrm_dhcp-client() { > > + rm -f $D/${localstatedir}/lib/dhcp/dhclient.leases > > + rm -f $D/${localstatedir}/lib/dhcp/dhclient6.leases > > + rmdir $D/${localstatedir}/lib/dhcp > > Are those rmdirs not going to fail if you try to remove one package with > the other one still installed? >
I think they will. I'll add an || true on it. -- Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
_______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
