jnath / apt-cyg

Automatically exported from code.google.com/p/apt-cyg
MIT License
0 stars 0 forks source link

Here comes a solution to the architecture defined #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
in function 

function getsetup()
{
  if test "$noscripts" == "0" -a "$noupdate" == "0"
  then
    touch setup.ini
    mv setup.ini setup.ini-save
//    wget -N $mirror/setup.bz2
    wget -N $mirror/x86/setup.bz2
    if test -e setup.bz2 && test $? -eq 0

THEN

in function 

  install)

    ..........
    ..........

    echo "Unpacking..."
//  cat $file | bunzip2 | tar > "/etc/setup/$pkg.lst" xvf - -C /
    cat $file  | xz -d | tar > "/etc/setup/$pkg.lst" xvf - -C /
    gzip -f "/etc/setup/$pkg.lst"
    cd ../..

THE
the attached file is a sample file of architure x86 using mirrors.ustc.edu.cn

Original issue reported on code.google.com by qiuke...@gmail.com on 25 Dec 2013 at 3:15

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by i...@skl.me on 17 Feb 2014 at 8:57