From cbaef9cdb75cb66e796fac9d517f542b7ea17978 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Sat, 19 Nov 2022 15:15:16 +0300 Subject: [PATCH] clamtk. --- .../clamtk/files/guicheck_disable_by_default.patch | 13 +++++++++++++ util/antivirus/clamtk/pspec.xml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 util/antivirus/clamtk/files/guicheck_disable_by_default.patch diff --git a/util/antivirus/clamtk/files/guicheck_disable_by_default.patch b/util/antivirus/clamtk/files/guicheck_disable_by_default.patch new file mode 100644 index 0000000000..bc168b0193 --- /dev/null +++ b/util/antivirus/clamtk/files/guicheck_disable_by_default.patch @@ -0,0 +1,13 @@ +diff --git a/lib/Prefs.pm b/lib/Prefs.pm +index 95cf815..f69c446 100644 +--- a/lib/Prefs.pm ++++ b/lib/Prefs.pm +@@ -198,7 +198,7 @@ sub custom_prefs { + for my $p ( qw{GUICheck TruncateLog DupeDB } ) { + # on by default + if ( !exists $pkg{ $p } ) { +- $pkg{ $p } = 1; ++ $pkg{ $p } = 0; + } + } + diff --git a/util/antivirus/clamtk/pspec.xml b/util/antivirus/clamtk/pspec.xml index 3561ddc36f..ba044794e3 100644 --- a/util/antivirus/clamtk/pspec.xml +++ b/util/antivirus/clamtk/pspec.xml @@ -21,7 +21,7 @@ - + guicheck_disable_by_default.patch