Skip to content

Commit

Permalink
storage: Never install packages on-demand in Anaconda mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mvollmer committed Aug 28, 2024
1 parent 4bbac21 commit f7ed5a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/storaged/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,10 @@ function init_model(callback) {
}

function enable_pk_features() {
if (client.in_anaconda_mode()) {
client.features.packagekit = false;
return Promise.resolve();
}
return PK.detect().then(function (available) { client.features.packagekit = available });
}

Expand Down

0 comments on commit f7ed5a7

Please sign in to comment.