diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-04-16 21:24:41 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-04-16 21:24:41 +0200 |
commit | 26cdf43c76a10cfa9c248269f4768bd5bca81314 (patch) | |
tree | ab39c799cb79f8bbc67c79a89220bf23e9f16cb6 /xi | |
parent | c3530eb77e04b952eb7e7a8d6a92c3fa7e159240 (diff) | |
download | xtools-26cdf43c76a10cfa9c248269f4768bd5bca81314.tar.gz xtools-26cdf43c76a10cfa9c248269f4768bd5bca81314.tar.xz xtools-26cdf43c76a10cfa9c248269f4768bd5bca81314.zip |
xi: also try nonfree repos.
Fixes #53.
Diffstat (limited to 'xi')
-rwxr-xr-x | xi | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/xi b/xi index 9ae9a0a..8cf9c73 100755 --- a/xi +++ b/xi @@ -2,12 +2,20 @@ # xi PKGS... - like xbps-install -S, but take cwd repo and sudo/su into account BRANCH=$(git symbolic-ref -q --short HEAD 2>/dev/null) -ADDREPO="--repository=hostdir/binpkgs/$BRANCH +ADDREPO=" + --repository=hostdir/binpkgs/$BRANCH --repository=../hostdir/binpkgs/$BRANCH --repository=../../hostdir/binpkgs/$BRANCH + --repository=hostdir/binpkgs/$BRANCH/nonfree + --repository=../hostdir/binpkgs/$BRANCH/nonfree + --repository=../../hostdir/binpkgs/$BRANCH/nonfree --repository=hostdir/binpkgs --repository=../hostdir/binpkgs - --repository=../../hostdir/binpkgs" + --repository=../../hostdir/binpkgs + --repository=hostdir/binpkgs/nonfree + --repository=../hostdir/binpkgs/nonfree + --repository=../../hostdir/binpkgs/nonfree +" SUDO= if command -v sudo >/dev/null && |