From ab8e613d8bfd8037f7858982dc95e6847cfd8c99 Mon Sep 17 00:00:00 2001 From: Zeljko Boros Date: Mon, 21 Mar 2022 11:41:04 +0100 Subject: [PATCH] =?utf8?q?Ptachirana=20skripta=20zbog=20vlasni=C5=A1tva=20na?= =?utf8?q?d=20last-version-check.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- clamav-unofficial-sigs | 3 +++ debian/changelog | 6 ++++++ debian/control | 1 + 3 files changed, 10 insertions(+) diff --git a/clamav-unofficial-sigs b/clamav-unofficial-sigs index aa70db1..28c39e2 100755 --- a/clamav-unofficial-sigs +++ b/clamav-unofficial-sigs @@ -3667,6 +3667,9 @@ if [ "$allow_update_checks" != "no" ] ; then time_interval="$((current_time - last_version_check))" if [ "$time_interval" -ge $((update_check_interval - 600)) ] ; then echo "$current_time" > "${work_dir_work_configs}/last-version-check.txt" + if xshok_is_root ; then + perms chown -f "${clam_user}:${clam_group}" "${work_dir_work_configs}/last-version-check.txt" + fi check_new_version fi diff --git a/debian/changelog b/debian/changelog index 674fdae..fdf1a76 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +clamav-unofficial-sigs (7.0.1+cn10u2) unstable; urgency=medium + + * Patchirana skripta zbog vlasništva nad "last-version-check.txt" + + -- Zeljko Boros Mon, 21 Mar 2022 11:40:20 +0100 + clamav-unofficial-sigs (7.0.1+cn10u1) unstable; urgency=medium * Prva verzija za Debian buster diff --git a/debian/control b/debian/control index fde49d5..1493741 100644 --- a/debian/control +++ b/debian/control @@ -2,6 +2,7 @@ Source: clamav-unofficial-sigs Section: utils Priority: optional Maintainer: Ivan Rako +Uploaders: Zeljko Boros Build-Depends: debhelper (>= 10) Standards-Version: 3.9.8 Homepage: https://github.com/extremeshok/clamav-unofficial-sigs -- 1.7.10.4