/usr/share/kde4/apps/kconf_update/proxytype.pl is in kdelibs5-data 4:4.14.16-0ubuntu3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #!/usr/bin/perl
# the script is called with interpreter, so don't worry about the path
while(<>)
{
$useproxy = 1 if /UseProxy=true/;
$usepac = 1 if /Proxy Config Script=.*\S/;
}
printf ("# DELETE UseProxy\n");
$proxytype = $useproxy ? ($usepac ? 2 : 1) : 0;
print "ProxyType=$proxytype\n" if $proxytype;
|