Verified Commit bb8996f9 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Remove 10 year old kconf_update files

parent ab362007
install(FILES kget.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
install(FILES kget.upd DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
install(PROGRAMS kget_sensitive.pl DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
install(PROGRAMS kget_limitdownloads.pl DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
Id=2.8.0
File=kgetrc
Group=Advanced
RemoveKey=ExpertMode
Group=Appearance
RemoveKey=Columns
RemoveKey=ShowExpandableTransferDetails
RemoveKey=ShowSplashscreen
RemoveKey=EnablePopupTooltip
Group=Geometry
RemoveKey=ColumnWidths
Group=Network
RemoveKey=AutoShutdown
RemoveKey=AutoDisconnect
RemoveKey=MaxConnectionsServer
Id=2.8.0/multiseg
File=kget_multisegkiofactory.rc
Group=Segments
RemoveKey=SplitSize
RemoveKey=SaveSegSize
Id=2.8.0/sensitive
File=kgetrc
Group=Advanced
Script=kget_sensitive.pl,perl
Id=2.8.0/limitdownloads
File=kgetrc
Group=Network
Script=kget_limitdownloads.pl,perl
#!/usr/bin/perl
$doChange=0;
$connections=0;
while(<>)
{
($key) = ($_ =~ /([^=]*)=(.*)$/);
($value) = ($_ =~ /^[^=]*=(.*)$/);
if( $key eq "LimitDownloads" )
{
if ( $value eq "false" )
{
$doChange=1;
}
print "# DELETE " . $key . "\n";
next;
}
if ( $key eq "MaxConnections" )
{
$connections=$value;
print "# DELETE MaxConnections\n";
next;
}
print $_;
}
if ( $doChange eq 1 )
{
print "MaxConnections=0\n";
} else {
print "MaxConnections=" . $connections . "\n";
}
#!/usr/bin/perl
while(<>)
{
($key) = ($_ =~ /([^=]*)=(.*)$/);
($value) = ($_ =~ /^[^=]*=(.*)$/);
if( $key eq "AutoPasteCaseInsensitive" and $value eq "false" )
{
print "# DELETE " . $key . "\n";
print "AutoPasteCaseSensitive=true\n";
next;
}
print $_;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment