Comment 4 for bug 332253

Revision history for this message
Mike Pontillo (mpontillo) wrote :

I've never worked with Debian packages (other than with checkinstall) before, but would something like this do the trick?

The script depends on:
  echo
  mktemp
  lsb_release
  cut
  sed
  cat
  rm

It unconditionally replaces the default user-agent string every time the script is run.

I tested the script itself and it works for me. (user-agent came back as "Mozilla/5.0 (X11; U; Linux i686; en; rv:1.9.0.10) Gecko/20080528 Ubuntu/9.04 (jaunty) Epiphany/2.22 Firefox/3.0")