HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: //etc/cron.daily/aptitude
#!/bin/sh

bak=/var/backups

# Shamelessly ripped from /etc/cron.daily/standard
if test -f /var/lib/aptitude/pkgstates && cd $bak ; then
	if ! cmp -s aptitude.pkgstates.0 /var/lib/aptitude/pkgstates ; then
		cp -p /var/lib/aptitude/pkgstates aptitude.pkgstates
		savelog -c 7 aptitude.pkgstates > /dev/null
	fi
fi