From dd468419f2fbaa2c3fec570a88d13e8eae8f3faf Mon Sep 17 00:00:00 2001 From: iru Date: Thu, 14 Apr 2011 00:19:51 -0300 Subject: Change installer to use statusbar(8) instead of bargraph and remove the latter. --- rc/bin/inst/download | 2 +- rc/bin/inst/watchfd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'rc') diff --git a/rc/bin/inst/download b/rc/bin/inst/download index 70d7f5ba7..2af4fe9d0 100755 --- a/rc/bin/inst/download +++ b/rc/bin/inst/download @@ -33,7 +33,7 @@ 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] bargraph $baropt 'downloading '^plan9.iso.bz2) + if(! hget -vo /n/newfs/dist/_plan9.iso.bz2 $installurl/plan9.iso.bz2 |[2] aux/statusbar $baropt 'downloading '^plan9.iso.bz2) exit mv /n/newfs/dist/_plan9.iso.bz2 /n/newfs/dist/plan9.iso.bz2 if(~ $fstype fossil){ diff --git a/rc/bin/inst/watchfd b/rc/bin/inst/watchfd index ca37294e3..d836abd8d 100755 --- a/rc/bin/inst/watchfd +++ b/rc/bin/inst/watchfd @@ -14,4 +14,4 @@ if(~ $textinst 1) { while(test -f /proc/$p/fd) grep '^ *'^$2^' ' /proc/$p/fd >[2]/dev/null -} | awk '{print $9 " '^$3^'"; fflush("/dev/stdout")}' | bargraph $baropt $4 +} | awk '{print $9 " '^$3^'"; fflush("/dev/stdout")}' | aux/statusbar $baropt $4 -- cgit v1.2.3