Codebase list live-build / 640ffce2-7308-4f99-a22b-65bbe1ce43f7/main examples / hooks / reproducible / 9000-cleanup-ucf-backup-files.hook.chroot
640ffce2-7308-4f99-a22b-65bbe1ce43f7/main

Tree @640ffce2-7308-4f99-a22b-65bbe1ce43f7/main (Download .tar.gz)

9000-cleanup-ucf-backup-files.hook.chroot @640ffce2-7308-4f99-a22b-65bbe1ce43f7/mainraw · 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.*