code.google.com is shutting down, the new repository is on code.9front.org.
This commit is contained in:
cinap_lenrek 2015-06-07 00:11:47 +02:00
parent 9d3bc16469
commit ebf43c0a0b

View file

@ -1,16 +1,17 @@
#!/bin/rc
rfork n
rfork en
source=https://code.9front.org/hg/plan9front
cd /
if(! test -d .hg)
bind -ac /dist/plan9front /
while(! ~ $#* 0){
switch($1){
case -i
hg incoming
hg incoming $source
case *
echo usage: sysupdate '[-i]' >[1=2]
exit usage
}
shift
}
hg -v pull -u
hg -v pull -u $source