Skip to content

Commit

Permalink
Merge pull request #308 from oliverkurth/topic/okurth/fix-userinstall…
Browse files Browse the repository at this point in the history
…-downloadonly

do not mark packages as auto installed if only downloading
  • Loading branch information
oliverkurth authored Apr 21, 2022
2 parents 7d37704 + 5260dac commit 0214ac9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/rpmtrans.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ TDNFRpmExecTransaction(
if (!nDownloadOnly) {
dwError = TDNFRunTransaction(&ts, pTdnf);
BAIL_ON_TDNF_ERROR(dwError);
}

dwError = TDNFMarkAutoInstalled(pTdnf, pSolvedInfo);
BAIL_ON_TDNF_ERROR(dwError);
dwError = TDNFMarkAutoInstalled(pTdnf, pSolvedInfo);
BAIL_ON_TDNF_ERROR(dwError);
}

cleanup:
if(ts.pTS)
Expand Down

0 comments on commit 0214ac9

Please sign in to comment.