~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to src/hooks.c

  • Committer: mvo
  • Date: 2005-10-08 12:43:06 UTC
  • Revision ID: gustavo@niemeyer.net-20051008124306-31757473ae0945d2
* src/update-notifier.c:
  - add a extra timeout for the hook check 60sec after the last apt operation
* src/hooks.c:
  - whitespace (indention)

Show diffs side-by-side

added added

removed removed

Lines of Context:
463
463
      g_debug("now: %i mtime: %i uptime: %f\n",now,mtime,uptime);
464
464
      g_debug("diff: %i  uptime: %f\n",now-mtime,uptime);
465
465
      if((int)uptime > 0 && (now - mtime) > (int)uptime) {
466
 
         //g_print("not relevant because of reboot: %s\n",hook_file);
 
466
         g_debug("not relevant because of reboot: %s\n",hook_file);
467
467
         res = FALSE;
468
468
      }
469
469
   }
554
554
              }
555
555
            x = g_list_next(x);
556
556
         }
557
 
 
558
557
         if(!md5match) {
559
558
            g_debug("%s increases unseen_count\n",hf->filename);
560
559
            unseen_count++;