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

Re: modules "pex5" and "xie" and X4.2



On Mon, Sep 30, 2002 at 11:36:19PM -0500, Branden Robinson wrote:
> Hmm, I don't have a special thing up at the top of the config script to
> yank those out of people's existing settings.
> 
> So new users won't get those values, and can't set them.
> 
> But people who already had them will keep them.
> 
> I'll try and fix this.
> 
> Thanks for the report.

Here's what I've added.  Comments welcome.

    278 # migrate to XFree86 4.2, where there are no pex or xie modules
    279 db_get xserver-xfree86/config/modules
    280 SELECTED_MODULES="$(echo $RET | awk 'BEGIN { RS=", "} {print $1}')"
    281 # are the pex or xie modules selected?
    282 if echo "$SELECTED_MODULES" | egrep -q "(pex|xie)"; then
    283   # get rid of them
    284   SELECTED_MODULES=$(echo "$SELECTED_MODULES" | egrep -v "(pex|xie)")
    285   SELECTED_MODULES=$(echo $SELECTED_MODULES | sed 's/ /, /g')
    286   db_set xserver-xfree86/config/modules "$SELECTED_MODULES"
    287 fi

-- 
G. Branden Robinson                |     There's nothing an agnostic can't
Debian GNU/Linux                   |     do if he doesn't know whether he
branden@debian.org                 |     believes in it or not.
http://people.debian.org/~branden/ |     -- Graham Chapman

Attachment: pgpg2Bs0BP7XZ.pgp
Description: PGP signature


Reply to: