chiark / gitweb /
Make new "tree-info.txt" file not in revision control for locally approved clients...
[ypp-sc-tools.db-test.git] / yarrg / dictionary-manager
index 65fc977..2231266 100755 (executable)
@@ -509,6 +509,12 @@ proc upload_init {} {
     if {$privacy_setting} {
        package require http
        ::http::config -urlencoding utf-8
+       set ua [::http::config -useragent]
+       debug "USERAGENT OLD \"$ua\""
+       set ua [exec ./database-info-fetch useragentstringmap $ua \
+                   dictionary-manager 2>@ stderr]
+       ::http::config -useragent $ua
+       debug "USERAGENT NEW \"$ua\""
     }
 }