summaryrefslogtreecommitdiff
path: root/share/hooks/0140-remove-backup-files.chroot
blob: 6058f1eb276beb20e5da26cb5bfb1658b86ad9af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

# Remove backup files
rm -f /etc/apt/trusted.gpg~

rm -f /etc/passwd-
rm -f /etc/group-
rm -f /etc/shadow-
rm -f /etc/gshadow-

rm -f /var/cache/debconf/*-old
rm -f /var/lib/dpkg/*-old