about summary refs log tree commit diff
path: root/xi
Commit message (Collapse)AuthorAgeFilesLines
* xi: don't use sudo/doas if uid is 0Piraty2021-05-011-2/+4
| | | | Closes: #208 [via git-merge-pr]
* xi: make file executableLeah Neukirchen2021-05-011-0/+0
|
* xi: refactorLeah Neukirchen2020-12-061-25/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | Suggestions by kerframil: - Fix the original su invocation bug. The original approach is veering very close to eval territory. Let's just not overload SUDO quite so hard and keep it coherent. - Use id -u (posix) instead of whoami (not posix). - Rather than try to make a scalar behave as if it were an array (it's not) then unsafely expand it, compose the positional parameter list as needed. Note that XBPS_BINPKGS and BRANCH are now expanded safely in the course of doing so. - Don't include improperly formed repository paths as parameters if git fails or prints nothing. - Have su pass sh as the zeroeth arg, not a dash so that, if an error in the shell context ever happens again, the resulting message will be less confusing. As an aside, if you want the environment to be as it normally would be for the root user, there should be a dash (or -l) before -c, not after --. Could help protect against issues of environmental pollution down the line. - Don't squash the exit status of the first call to xbps-install in the case that it's not zero and also not 16. - Make the fallback invocation be contingent upon -u xbps succeeding. Note that the exit status of either will be properly conveyed by the script i.e. we don't have to capture the exit value there.
* xi: take XBPS_HOSTDIR into accountPiraty2020-10-271-11/+16
|
* xdbg,xi,xlint,xls,xq,xrs: redirect xdistdir stderr to /dev/null. v0.61Érico Rolim2020-07-261-1/+1
| | | | | | | These commands were outputting error messages from xdistdir when outside a void-packages folder, even though the command is supposed to fail silently. Closes: #190 [via git-merge-pr]
* xi: use xdistdir to simplify ADDREPO definition.Érico Rolim2020-06-271-30/+11
|
* xi: update xbps if neededLeah Neukirchen2020-02-131-0/+4
|
* xi: support doasPaper Mountain Studio2019-11-301-0/+2
|
* xi: also try multilib reposColin Gillespie2019-02-191-0/+12
|
* xi: also try debug reposMichael Gehring2018-03-051-0/+6
| | | | Closes: #76 [via git-merge-pr]
* xi: also try nonfree repos.Leah Neukirchen2017-04-161-2/+10
| | | | Fixes #53.
* xi: fix $ADDREPOAlexander Mamay2015-09-281-1/+1
|
* add xiChristian Neukirchen2015-09-231-0/+20