kde-extraapps/kget/conf/kget_sensitive.pl
2014-11-19 17:18:01 +00:00

17 lines
308 B
Perl
Executable file

#!/usr/bin/perl
while(<>)
{
($key) = ($_ =~ /([^=]*)=(.*)$/);
($value) = ($_ =~ /^[^=]*=(.*)$/);
if( $key eq "AutoPasteCaseInsensitive" and $value eq "false" )
{
print "# DELETE " . $key . "\n";
print "AutoPasteCaseSensitive=true\n";
next;
}
print $_;
}