plan9fox/rc/bin/sysupdate
cinap_lenrek f9ae020332 sysupdate: revert thumbstone temporarily
experiencing some issues with git9 transition... we likely need
to update git9 again before doing another attempt...
2021-06-06 13:07:51 -04:00

17 lines
271 B
Bash
Executable file

#!/bin/rc
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 $source
case *
echo usage: sysupdate '[-i]' >[1=2]
exit usage
}
shift
}
hg -v pull -u $source