vim-update.sh: F36+ bodhi-client doesnt have --user
This commit is contained in:
parent
b6fb8ebdab
commit
3e31826a83
@ -119,6 +119,11 @@ if [ $CHANGES -ne 0 ]; then
|
||||
|
||||
for branch in "${branches[@]:(1)}";
|
||||
do
|
||||
if [ "x$branch" == "xf35" ]
|
||||
then
|
||||
BODHI_USER="--user $(id -un)"
|
||||
fi
|
||||
|
||||
# switch to branch
|
||||
$debug fedpkg switch-branch $branch
|
||||
|
||||
@ -164,7 +169,7 @@ if [ $CHANGES -ne 0 ]; then
|
||||
# not have an update in testing
|
||||
if [ $branch != "rawhide" ] || [ ${bodhi_enabled[@]: $bodhi_enabled_index: 1} -eq 1 ]; then
|
||||
# uses 'id' value for updates -> your username in OS must match with your username in Fedora accounts
|
||||
$debug bodhi updates new --user $(id -un) --type enhancement --notes "The newest upstream commit" --request testing --autotime --autokarma --stable-karma 3 --unstable-karma -3 vim-${UPSTREAMMAJOR}.${LASTPLFILLED}-1.${releases[@]: $release_index: 1}
|
||||
$debug bodhi updates new ${BODHI_USER} --type enhancement --notes "The newest upstream commit" --request testing --autotime --autokarma --stable-karma 3 --unstable-karma -3 vim-${UPSTREAMMAJOR}.${LASTPLFILLED}-1.${releases[@]: $release_index: 1}
|
||||
fi
|
||||
else
|
||||
echo "Error when building package for $branch"
|
||||
|
Loading…
Reference in New Issue
Block a user