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")

** Attachment added: "postinst script for epiphany-browser-data to set the user 
agent"
   http://launchpadlibrarian.net/26298199/epiphany-browser-data.postinst

-- 
Epiphany doesn't mention Ubuntu in user agent string
https://bugs.launchpad.net/bugs/332253
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to