On Thursday 16 November 2006 17:23, James Colby wrote:
> I was trying to delete some files from my /sbin directory and with an
> unfortunate use of a wildcard accidentally deleted the entire contents
> on the /sbin directory.  I have recovered the contents of the /sbin
> directory from a stage 3 tarball.  I was thinking about doing an
> emerge world, just to make sure that everything is consistent.  Do you
> all think that this is necessary?

I suppose that remerging packages that install anything in /sbin would be in 
order:

# cd /var/db/pkg && emerge -va1 $(for pkg in */*; do
        cut -d' ' -f2 "${pkg}"/CONTENTS | grep -q '^/sbin/' && echo "=${pkg}"
    done)

-- 
Bo Andresen

Attachment: pgpn6yhOdpqfm.pgp
Description: PGP signature

Reply via email to