--- xapt/xapt | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/xapt/xapt b/xapt/xapt index 2b668ab..706d66a 100755 --- a/xapt/xapt +++ b/xapt/xapt @@ -170,15 +170,16 @@ mkdir "$dir/archives/partial" if (not -d "$dir/archives/partial"); @dirs = qw/ alternatives info parts updates/; @touch = qw/ available diversions statoverride status lock/; -&prepare_sources_list; - if (defined $suite) { unlink "${dir}${etcdir}sources.list.d/xapt.list"; open (SOURCES, ">${dir}${etcdir}sources.list.d/xapt.list") or die RED, _g("Cannot open sources list")." $!", RESET, "\n"; print SOURCES "deb $mirror $suite $components\n"; close SOURCES; +} else { + &prepare_sources_list; } + $host=`dpkg-architecture -qDEB_HOST_ARCH`; chomp ($host); $config_str = ''; -- 1.7.5.3 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org