ensure all sources are cleaned out and within our control.

git-svn-id: http://emdebian.org/svn/current@7369 563faec7-e20c-0410-992a-a66f704d0ccd
This commit is contained in:
codehelp 2010-08-19 11:16:31 +00:00
parent 5ee7c4ed42
commit 720595e180

View file

@ -205,8 +205,7 @@ if (-l "${dir}lib64" ) {
chdir ("${old}"); chdir ("${old}");
} }
unlink ("${dir}etc/apt/sources.list.d/multistrap.sources.list") system ("rm -rf ${dir}etc/apt/sources.list.d/*");
if (-f "${dir}etc/apt/sources.list.d/multistrap.sources.list");
unlink ("${dir}etc/apt/sources.list") unlink ("${dir}etc/apt/sources.list")
if (-f "${dir}etc/apt/sources.list"); if (-f "${dir}etc/apt/sources.list");