void: add xqupdate function
parent
9adc30c955
commit
3be4d85b6c
|
@ -25,3 +25,16 @@ function xqrebuild -d "Rebuild some of our srcpkgs"
|
||||||
xqdir
|
xqdir
|
||||||
xbulk $argv 2>&1 | tee /tmp/xqrebuild.log | less +F
|
xbulk $argv 2>&1 | tee /tmp/xqrebuild.log | less +F
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function xqupdate -d "Updates the srcpkg repository for use"
|
||||||
|
echo "This command must be done after you have updated."
|
||||||
|
echo "If you haven't yet, run `sudo xbps-install -Su'."
|
||||||
|
echo "Type 'ok' to continue, or anything else to exit."
|
||||||
|
if test (read) != "ok"
|
||||||
|
exit 1
|
||||||
|
end
|
||||||
|
xqdir
|
||||||
|
git pull
|
||||||
|
rm -rf $XBPS_MASTERDIR
|
||||||
|
./xbps-src binary-bootstrap
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue