mirror of https://github.com/ericonr/dotfiles.git
Update xbps-adjacent utilities.
- fix nomad token export - add xchangelog and xhomepage - improve quality of xfindup output and use grep directly
This commit is contained in:
parent
eade5be56b
commit
7b598a87c5
|
@ -9,6 +9,6 @@ function vault-login
|
||||||
end
|
end
|
||||||
|
|
||||||
function nomad-token
|
function nomad-token
|
||||||
set -x NOMAD_TOKEN (vault read -field secret_id nomad/creds/apps-admin)
|
set -xg NOMAD_TOKEN (vault read -field secret_id nomad/creds/apps-admin)
|
||||||
#expires in one hour
|
#expires in one hour
|
||||||
end
|
end
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
pkgname="$1"
|
||||||
|
source srcpkgs/$pkgname/template 2>/dev/null
|
||||||
|
if [ -n "$changelog" ]; then
|
||||||
|
xdg-open "$changelog"
|
||||||
|
fi
|
|
@ -3,10 +3,9 @@ set +x
|
||||||
|
|
||||||
PKGLIST="$(xbps-query -l | awk '{print $2}' | xargs -l1 xbps-uhelper getpkgname)"
|
PKGLIST="$(xbps-query -l | awk '{print $2}' | xargs -l1 xbps-uhelper getpkgname)"
|
||||||
curl -LO https://a-hel-fi.m.voidlinux.org/void-updates/void-updates.txt
|
curl -LO https://a-hel-fi.m.voidlinux.org/void-updates/void-updates.txt
|
||||||
|
curl -Lo void-updates.txt.mine https://a-hel-fi.m.voidlinux.org/void-updates/void-updates/updates_ericonr@disroot.org.txt
|
||||||
|
|
||||||
for pkg in $PKGLIST
|
for pkg in $PKGLIST
|
||||||
do
|
do
|
||||||
rg "^$pkg " void-updates.txt
|
grep "^$pkg " void-updates.txt
|
||||||
done
|
done > void-updates.txt.sel
|
||||||
|
|
||||||
rg -C 10 ericonr void-updates.txt
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
pkgname="$1"
|
||||||
|
source srcpkgs/$pkgname/template 2>/dev/null
|
||||||
|
xdg-open "$homepage"
|
Loading…
Reference in New Issue