46-configure-htpdate 251 B

12345678910111213
  1. #!/bin/sh
  2. set -e
  3. echo "Configuring htpdate HTTP User-Agent"
  4. CONFFILE='/etc/default/htpdate.user-agent'
  5. install -o root -g root -m 0644 /dev/null "$CONFFILE"
  6. echo "HTTP_USER_AGENT=\"$(/usr/local/lib/getTorBrowserUserAgent)\"" \
  7. > "$CONFFILE"