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
+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
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