Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KGet
Commits
bb8996f9
Verified
Commit
bb8996f9
authored
Oct 14, 2021
by
Alexander Lohnau
💬
Browse files
Remove 10 year old kconf_update files
parent
ab362007
Changes
4
Hide whitespace changes
Inline
Side-by-side
conf/CMakeLists.txt
View file @
bb8996f9
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
}
)
conf/kget.upd
deleted
100644 → 0
View file @
ab362007
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
conf/kget_limitdownloads.pl
deleted
100755 → 0
View file @
ab362007
#!/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
";
}
conf/kget_sensitive.pl
deleted
100755 → 0
View file @
ab362007
#!/usr/bin/perl
while
(
<>
)
{
(
$key
)
=
(
$_
=~
/([^=]*)=(.*)$/
);
(
$value
)
=
(
$_
=~
/^[^=]*=(.*)$/
);
if
(
$key
eq
"
AutoPasteCaseInsensitive
"
and
$value
eq
"
false
"
)
{
print
"
# DELETE
"
.
$key
.
"
\n
";
print
"
AutoPasteCaseSensitive=true
\n
";
next
;
}
print
$_
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment