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

Re: Regenerating /etc/alternatives



On Tue, 13 Feb 2001, Brian Frederick Kimball wrote:

> This is untested, since naturally I'm not about to hose my system for a
> complete stranger. :-)
>
> 	cd /var/lib/dpkg/alternatives
> 	update-alternatives --auto *

Thanks for the advice.  It *almost* worked.

Here's what worked:

#!/bin/bash
cd /var/lib/dpkg/alternatives
for j in *
do
update-alternatives --auto $j
done

Rich

-- 
 From the Desktop of Rich Renomeron
 Atheism is a non-prophet organization.



Reply to: