shuffle setupsh again - run it between unpack and native

git-svn-id: http://emdebian.org/svn/current@7214 563faec7-e20c-0410-992a-a66f704d0ccd
This commit is contained in:
codehelp 2010-05-15 20:01:12 +00:00
parent 5da4e83ef9
commit ec949dad42

View file

@ -351,8 +351,8 @@ die (sprintf (_g("apt download failed. Exit value: %d\n"),($retval/256)))
if ($retval != 0); if ($retval != 0);
&force_unpack if ($unpack eq "true"); &force_unpack if ($unpack eq "true");
system ("touch ${dir}${libdir}lists/lock"); system ("touch ${dir}${libdir}lists/lock");
&native if (not defined ($foreign));
system ("$setupsh $dir $arch") if ((defined $setupsh) and (-f $setupsh)); system ("$setupsh $dir $arch") if ((defined $setupsh) and (-f $setupsh));
&native if (not defined ($foreign));
&add_extra_packages; &add_extra_packages;
system ("cp $configsh $dir/") if ((defined $configsh) and (-f $configsh)); system ("cp $configsh $dir/") if ((defined $configsh) and (-f $configsh));
(not defined $tidy) ? system ("apt-get $config_str update") : &tidy_apt; (not defined $tidy) ? system ("apt-get $config_str update") : &tidy_apt;