Codebase list live-build / b0442a4 examples / hooks / reproducible / 9000-cleanup-ucf-backup-files.hook.chroot
b0442a4

Tree @b0442a4 (Download .tar.gz)

9000-cleanup-ucf-backup-files.hook.chroot @b0442a4raw · history · blame

1
2
3
4
5
6
7
#!/bin/sh
set -e

# Delete all older backups of ucf files
# The current files are /var/lib/ucf/hashfile and /var/lib/ucf/registry
rm -f /var/lib/ucf/hashfile.*
rm -f /var/lib/ucf/registry.*