From ae3e571158a26644acda33461a529f09f6c301ba Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 19 Dec 2012 05:54:16 +0100 Subject: Moving removal of actual backup files for apt sources into correct hook. --- share/hooks/0120-remove-apt-sources-lists.chroot | 1 - share/hooks/0130-remove-backup-files.chroot | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'share/hooks') diff --git a/share/hooks/0120-remove-apt-sources-lists.chroot b/share/hooks/0120-remove-apt-sources-lists.chroot index 074b551a1..1c8ca2d22 100755 --- a/share/hooks/0120-remove-apt-sources-lists.chroot +++ b/share/hooks/0120-remove-apt-sources-lists.chroot @@ -5,5 +5,4 @@ set -e # Remove apt sources.list files rm -f /etc/apt/sources.list -rm -f /etc/apt/sources.list~ rm -f /etc/apt/sources.list.d/*.list diff --git a/share/hooks/0130-remove-backup-files.chroot b/share/hooks/0130-remove-backup-files.chroot index 6e0a69055..55a6b75af 100755 --- a/share/hooks/0130-remove-backup-files.chroot +++ b/share/hooks/0130-remove-backup-files.chroot @@ -6,6 +6,7 @@ set -e rm -f /boot/*.bak rm -f /boot/*.old-dkms +rm -f /etc/apt/sources.list~ rm -f /etc/apt/trusted.gpg~ rm -f /etc/passwd- -- cgit v1.2.3