1
0
Fork 0

Use token triggers for fix-broken

This commit is contained in:
Luca Beltrame 2021-01-05 23:06:46 +01:00
parent 30b7fda620
commit 445d9e7ede
Signed by: einar
GPG key ID: 4707F46E9EC72DEC

View file

@ -7,11 +7,11 @@
function rebuild_broken() { function rebuild_broken() {
local packages=$1 local packages=$1
local repo=$2 local repo=$2
echo "Checking broken packages in ${repo}" echo "Checking broken packages in ${repo}"
for pkg in $packages for pkg in $packages
do do
echo $pkg echo $pkg
osc service rr $repo $pkg osc token --trigger $(cat $HOME/.auth_token) -o runservice $repo $pkg
done done
} }