move the previous fix for sourcedir
git-svn-id: http://emdebian.org/svn/current@7269 563faec7-e20c-0410-992a-a66f704d0ccd
This commit is contained in:
parent
50b6d29ab0
commit
e92613ef72
1 changed files with 1 additions and 1 deletions
|
@ -656,7 +656,6 @@ sub tidy_apt
|
||||||
my $str = join (" ", @dsclist);
|
my $str = join (" ", @dsclist);
|
||||||
print "(cd $sourcedir; apt-get -d $config_str source $str)";
|
print "(cd $sourcedir; apt-get -d $config_str source $str)";
|
||||||
system ("(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")
|
unlink ("${dir}etc/apt/sources.list")
|
||||||
if (-f "${dir}etc/apt/sources.list");
|
if (-f "${dir}etc/apt/sources.list");
|
||||||
|
@ -694,6 +693,7 @@ sub tidy_apt
|
||||||
} else {
|
} else {
|
||||||
unlink ("${dir}${cachedir}archives/$file");
|
unlink ("${dir}${cachedir}archives/$file");
|
||||||
}
|
}
|
||||||
|
$sourcedir=undef;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue