My earlier patch (in this thread), replaces the contents of validate_nice_value() function with a single line:
test "$1" -ge -20 -a "$1" -le 19 2> /dev/null The patch I submitted was against the broken version (7.2.0ubuntu4 with "$? -ne 1"), but the same idea works with the not-so-broken one. BTW, the other {x11-common,xserver-xorg}.{prerm,postinst} scripts have some evil looking expr's too. -- x11-common loop asking 'Please enter an integer between -20 and 19.' at debconf medium or higher https://launchpad.net/bugs/68267 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs