Ptachirana skripta zbog vlasništva nad last-version-check.txt master debian/7.0.1+cn10u2
authorZeljko Boros <Zeljko.Boros@carnet.hr>
Mon, 21 Mar 2022 10:41:04 +0000 (11:41 +0100)
committerZeljko Boros <Zeljko.Boros@carnet.hr>
Mon, 21 Mar 2022 10:41:04 +0000 (11:41 +0100)
clamav-unofficial-sigs
debian/changelog
debian/control

index aa70db1..28c39e2 100755 (executable)
@@ -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
 
index 674fdae..fdf1a76 100644 (file)
@@ -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 <Zeljko.Boros@CARNET.hr>  Mon, 21 Mar 2022 11:40:20 +0100
+
 clamav-unofficial-sigs (7.0.1+cn10u1) unstable; urgency=medium
 
   * Prva verzija za Debian buster
index fde49d5..1493741 100644 (file)
@@ -2,6 +2,7 @@ Source: clamav-unofficial-sigs
 Section: utils
 Priority: optional
 Maintainer: Ivan Rako <Ivan.Rako@CARNET.hr>
+Uploaders: Zeljko Boros <Zeljko.Boros@CARNET.hr>
 Build-Depends: debhelper (>= 10)
 Standards-Version: 3.9.8
 Homepage: https://github.com/extremeshok/clamav-unofficial-sigs