diff options
-rw-r--r-- | etc/inc/pkg-utils.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index c2da5dd..a9bc25d 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -91,6 +91,7 @@ function pkg_call($params, $mute = false) { } $env = array( + "HTTP_USER_AGENT" => $g['product_name'] . '/' . $g['product_version'], "ASSUME_ALWAYS_YES" => "true" ); @@ -175,6 +176,7 @@ function pkg_exec($params, &$stdout, &$stderr) { } $env = array( + "HTTP_USER_AGENT" => $g['product_name'] . '/' . $g['product_version'], "ASSUME_ALWAYS_YES" => "true" ); |