[csw-users] reinstalling packages

James Lee james at blastwave.org
Wed Jun 22 15:05:18 CEST 2005


On 22/06/05, 10:24:49, James Lee <james at blastwave.org> wrote regarding Re: 
[csw-users] reinstalling packages:

> pkginfo | grep CSW | while read ignore package software description
> do


>       [[ $package = 'CSWgs' ]] || continue

Whoops, the above line got copy-n-pasted from my test, (makes it
less slow!)  It should not be there!!!  Delete, remove, ignore.
Hopefully the rest of my script is correct.


>       if ! pkgchk $package 2> /dev/null ; then
>               echo "pkgrm $package" >> remove
>               echo "pkg-get -u $software" >> add
>       fi
> done




More information about the users mailing list