blob: 99f4f6be25441dea8276ad57565d7cdd35a50a78 [file] [log] [blame]
#!/bin/sh
# Backup the 7 last versions of dpkg's status file
if cd /var/backups ; then
if ! cmp -s dpkg.status.0 /var/lib/dpkg/status ; then
cp -p /var/lib/dpkg/status dpkg.status
savelog -c 7 dpkg.status >/dev/null
fi
fi