Codebase list live-build / run/6a14cf3f-4fba-4984-a487-fe61c0348cf0/main examples / hooks / reproducible / 9000-cleanup-ucf-backup-files.hook.chroot
run/6a14cf3f-4fba-4984-a487-fe61c0348cf0/main

Tree @run/6a14cf3f-4fba-4984-a487-fe61c0348cf0/main (Download .tar.gz)

9000-cleanup-ucf-backup-files.hook.chroot @run/6a14cf3f-4fba-4984-a487-fe61c0348cf0/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.*