|
|
|
@ -3551,15 +3551,17 @@ sub configure{
|
|
|
|
|
#-------------------------------------
|
|
|
|
|
# выполним настройки в текущей системе
|
|
|
|
|
#-------------------------------------
|
|
|
|
|
printmes(" ".gettext('Load')); printmes(" calculate overlay...");
|
|
|
|
|
if(!`layman -l | grep calculate`){
|
|
|
|
|
printmes(" ".gettext('Load')); printmes(" Calculate Overlay...");
|
|
|
|
|
system "layman --overlays=http://svn.calculate.ru/overlay/layman-calculate.txt -S";
|
|
|
|
|
system "layman --overlays=http://svn.calculate.ru/overlay/layman-calculate.txt -S &>/dev/null";
|
|
|
|
|
system "layman --overlays=http://svn.calculate.ru/overlay/layman-calculate.txt -a calculate &>/dev/null";
|
|
|
|
|
printmes(" ".gettext('done').".\n");
|
|
|
|
|
}else{
|
|
|
|
|
system "layman --overlays=http://svn.calculate.ru/overlay/layman-calculate.txt -S &>/dev/null";
|
|
|
|
|
}
|
|
|
|
|
printmes(" ".gettext('done').".\n");
|
|
|
|
|
|
|
|
|
|
#Скопируем Calculate Overlay
|
|
|
|
|
printmes(" ".gettext('Copy')); printmes(" Calculate Overlay...");
|
|
|
|
|
#Скопируем calculate overlay
|
|
|
|
|
printmes(" ".gettext('Transfer calculate overlay to system')); printmes("...");
|
|
|
|
|
if(system "
|
|
|
|
|
$data{path} mkdir -p $data{chroot}/usr/local/portage/layman &&
|
|
|
|
|
$data{path} cp -a /usr/local/portage/layman/calculate $data{chroot}/usr/local/portage/layman
|
|
|
|
|