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
|
||||
|
||||
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
|
||||
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)"
|
||||
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
|
||||
do
|
||||
rg "^$pkg " void-updates.txt
|
||||
done
|
||||
|
||||
rg -C 10 ericonr void-updates.txt
|
||||
grep "^$pkg " void-updates.txt
|
||||
done > void-updates.txt.sel
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
pkgname="$1"
|
||||
source srcpkgs/$pkgname/template 2>/dev/null
|
||||
xdg-open "$homepage"
|
Loading…
Reference in New Issue