summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-19 05:54:16 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:03 +0200
commit0cdbf60bc153a5d81cf0cd7b288aa7861d0b2416 (patch)
tree9378242a37d1856b1be3050657e6259494d0347c /share
parentf67a2aa42e5bbde56e769cb2e643d4570f2c692b (diff)
downloadvyos-live-build-0cdbf60bc153a5d81cf0cd7b288aa7861d0b2416.tar.gz
vyos-live-build-0cdbf60bc153a5d81cf0cd7b288aa7861d0b2416.zip
Moving removal of actual backup files for apt sources into correct hook.
Diffstat (limited to 'share')
-rwxr-xr-xshare/hooks/0120-remove-apt-sources-lists.chroot1
-rwxr-xr-xshare/hooks/0130-remove-backup-files.chroot1
2 files changed, 1 insertions, 1 deletions
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-