Use token triggers for fix-broken
This commit is contained in:
parent
30b7fda620
commit
445d9e7ede
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue