only get the sources once, even if tidy_apt is called twice.
git-svn-id: http://emdebian.org/svn/current@7265 563faec7-e20c-0410-992a-a66f704d0ccd
This commit is contained in:
parent
3be748d310
commit
092f2df1aa
1 changed files with 1 additions and 1 deletions
|
@ -654,9 +654,9 @@ sub tidy_apt
|
|||
print _g("I: Tidying up apt cache and list data.\n");
|
||||
if (defined $sourcedir) {
|
||||
my $str = join (" ", @dsclist);
|
||||
print "$str\n";
|
||||
print "(cd $sourcedir; apt-get -d $config_str source $str)";
|
||||
system ("(cd $sourcedir; apt-get -d $config_str source $str)");
|
||||
$sourcedir=undef;
|
||||
}
|
||||
unlink ("${dir}etc/apt/sources.list")
|
||||
if (-f "${dir}etc/apt/sources.list");
|
||||
|
|
Loading…
Reference in a new issue