On Sat, Apr 29, 2006 at 03:48:11PM -0400, X Strike Force SVN Repository Admin 
wrote:
> Log:
> * Prevent the xserver-xorg config from failing during migration of
>   zaxismapping and emulate3buttons questions when they don't exist. Thanks
>   Rodney Gordon II, Adam Borowski. Thanks to Steven Brown for a fix. 
>   (closes: #365282)
> Modified: trunk/debian/xorg/debian/xserver-xorg.config.in
> ===================================================================
> --- trunk/debian/xorg/debian/xserver-xorg.config.in   2006-04-29 19:29:09 UTC 
> (rev 1999)
> +++ trunk/debian/xorg/debian/xserver-xorg.config.in   2006-04-29 19:48:09 UTC 
> (rev 2000)
> @@ -460,7 +460,7 @@
>  # migrate from old select-type templates
>  for TEMPLATE in xserver-xorg/config/inputdevice/mouse/emulate3buttons \
>                  xserver-xorg/config/inputdevice/mouse/zaxismapping; do
> -  db_get "$TEMPLATE"
> +  db_get "$TEMPLATE" || continue
>    if [ "$RET" = "Yes" ]; then
>      db_set $TEMPLATE "true"
>    elif [ "$RET" = "No" ]; then

This'll work, right? Someone with more shell experience than me?

 - David Nusinow


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to