diff options
Diffstat (limited to 'rc/bin/inst/download')
-rwxr-xr-x | rc/bin/inst/download | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/rc/bin/inst/download b/rc/bin/inst/download index 2af4fe9d0..6a070e8ef 100755 --- a/rc/bin/inst/download +++ b/rc/bin/inst/download @@ -33,22 +33,20 @@ case go baropt='-w 145,129,445,168' if(~ $textinst 1) baropt=-t - if(! hget -vo /n/newfs/dist/_plan9.iso.bz2 $installurl/plan9.iso.bz2 |[2] aux/statusbar $baropt 'downloading '^plan9.iso.bz2) + mkdir -p /n/newfs/dist + if(! hget -vo /n/newfs/dist/_9front.iso.bz2 $installurl/9front.iso.bz2 |[2] aux/statusbar $baropt 'downloading '^9front.iso.bz2) exit - mv /n/newfs/dist/_plan9.iso.bz2 /n/newfs/dist/plan9.iso.bz2 - if(~ $fstype fossil){ - echo fsys main sync >>/srv/fscons - } + mv /n/newfs/dist/_9front.iso.bz2 /n/newfs/dist/9front.iso.bz2 echo 'The distribution is downloaded.' srvmedia=() - mountmedia=(mount /srv/fossil /n/distmedia) + mountmedia=(mount /srv/cwfs /n/distmedia) distmediadir=/dist export distmediadir mountmedia distmedia case checkdone - if(! test -f /n/newfs/dist/plan9.iso.bz2) { + if(! test -f /n/newfs/dist/9front.iso.bz2) { download=notdone export download } |