/etc/cron.daily/umegaya-self-clean is in umegaya 1.0.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/bin/sh
set -e
# Exit if umegaya-adm is not installed.
# Exit code is zero as this script is intended as a cron job.
[ -x /usr/bin/umegaya-adm ] || exit 0
# Delete from the Umegaya database every package whose URL is 'NA'
for package in $(umegaya-adm -k YAML-URL | awk '$2=="NA" { print $1}')
do
umegaya-adm -p $package -d
done
|