forked from evolix/evocheck
Increase grace for IS_NOTUPGRADED
This commit is contained in:
parent
acca5f226e
commit
81c28cd59e
|
@ -443,7 +443,7 @@ if [ -e /etc/debian_version ]; then
|
|||
# Check if no package has been upgraded since $limit.
|
||||
if [ "$IS_NOTUPGRADED" = 1 ]; then
|
||||
last_upgrade=$(date +%s -d $(zgrep -h upgrade /var/log/dpkg.log* |sort -n |tail -1 |cut -f1 -d ' '))
|
||||
limit=$(date +%s -d "now - 42 days")
|
||||
limit=$(date +%s -d "now - 60 days")
|
||||
if [ -f /var/log/evolinux/00_prepare_system.log ]; then
|
||||
install_date=$(stat -c %Z /var/log/evolinux/00_prepare_system.log)
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue