dpkg.cron.daily 256 B

1234567891011
  1. #!/bin/sh
  2. # Backup the 7 last versions of dpkg's status file
  3. if cd /var/backups ; then
  4. if ! cmp -s dpkg.status.0 /var/lib/dpkg/status ; then
  5. cp -p /var/lib/dpkg/status dpkg.status
  6. savelog -c 7 dpkg.status >/dev/null
  7. fi
  8. fi