File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -99,10 +99,10 @@ If the first character is not '/' then it's a relative path of
9999.It Fl d , Fl -debug
100100Enables extra debugging shown to stderr.
101101.It Fl D , Fl -download-only
102- Only download packages to the cache, do not do any other installation steps.
103- This may be useful for doing system upgrades while offline, or automatically
104- downloading updates while leaving you with the option of still manually running
105- the update.
102+ Only download packages and dependencies to the cache, do not do any other
103+ installation steps. This may be useful for doing system upgrades while offline, or
104+ automatically downloading updates while leaving you with the option of still
105+ manually running the update.
106106.It Fl f , Fl -force
107107Force installation (downgrade if package version in repos is less than installed version),
108108or reinstallation (if package version in repos is the same) to the target
Original file line number Diff line number Diff line change @@ -90,7 +90,8 @@ compute_transaction_stats(struct xbps_handle *xhp)
9090 rm_pkgcnt ++ ;
9191 } else if (ttype == XBPS_TRANS_CONFIGURE ) {
9292 cf_pkgcnt ++ ;
93- } else if (ttype == XBPS_TRANS_INSTALL || ttype == XBPS_TRANS_REINSTALL ) {
93+ } else if (!(xhp -> flags & XBPS_FLAG_DOWNLOAD_ONLY ) &&
94+ (ttype == XBPS_TRANS_INSTALL || ttype == XBPS_TRANS_REINSTALL )) {
9495 inst_pkgcnt ++ ;
9596 } else if (ttype == XBPS_TRANS_UPDATE ) {
9697 up_pkgcnt ++ ;
You can’t perform that action at this time.
0 commit comments