From 52c72ea0422c98d686c399ed1c6466f22e9a579a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 17 Dec 2012 00:15:45 +0100 Subject: Merging remove-linux-image-backups into remove-backup-files hook. --- share/hooks/0100-remove-linux-image-backups.chroot | 8 -------- share/hooks/0140-remove-backup-files.chroot | 3 +++ 2 files changed, 3 insertions(+), 8 deletions(-) delete mode 100755 share/hooks/0100-remove-linux-image-backups.chroot (limited to 'share') diff --git a/share/hooks/0100-remove-linux-image-backups.chroot b/share/hooks/0100-remove-linux-image-backups.chroot deleted file mode 100755 index 1302d6c93..000000000 --- a/share/hooks/0100-remove-linux-image-backups.chroot +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -set -e - -# Remove backup files - -rm -f /boot/*.bak -rm -f /boot/*.old-dkms diff --git a/share/hooks/0140-remove-backup-files.chroot b/share/hooks/0140-remove-backup-files.chroot index 6058f1eb2..6e0a69055 100755 --- a/share/hooks/0140-remove-backup-files.chroot +++ b/share/hooks/0140-remove-backup-files.chroot @@ -3,6 +3,9 @@ set -e # Remove backup files +rm -f /boot/*.bak +rm -f /boot/*.old-dkms + rm -f /etc/apt/trusted.gpg~ rm -f /etc/passwd- -- cgit v1.2.3