From: Zeljko Boros Date: Mon, 21 Mar 2022 10:41:04 +0000 (+0100) Subject: Ptachirana skripta zbog vlasništva nad last-version-check.txt X-Git-Tag: debian/7.0.1+cn10u2^0 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=ab8e613d8bfd8037f7858982dc95e6847cfd8c99;p=clamav-unofficial-sigs.git Ptachirana skripta zbog vlasništva nad last-version-check.txt --- 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