Skip to content

Commit f42bca4

Browse files
committed
fix: do not check updates with dnf
1 parent 7698fea commit f42bca4

File tree

6 files changed

+9
-11
lines changed

6 files changed

+9
-11
lines changed

dev/docker/fedora_node.dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
## base image
22
FROM fedora as base
33

4-
RUN dnf -y check-update
5-
64
# nodejs
75
RUN dnf -y install nodejs
86

dist/setup_cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/setup_cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/setup_cpp.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dist/setup_cpp.mjs.map

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/utils/setup/setupDnfPack.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ import { InstallationInfo } from "./setupBin"
33
import { execSudo } from "../exec/sudo"
44
import { info, warning } from "../io/io"
55

6-
let didUpdate: boolean = false
6+
// let didUpdate: boolean = false
77

88
/** A function that installs a package using dnf */
99
export function setupDnfPack(name: string, version?: string): InstallationInfo {
1010
info(`Installing ${name} ${version ?? ""} via dnf`)
1111

1212
const dnf = "dnf"
1313

14-
if (!didUpdate) {
15-
execSudo(dnf, ["-y", "check-update"])
16-
didUpdate = true
17-
}
14+
// if (!didUpdate) {
15+
// execSudo(dnf, ["-y", "check-update"])
16+
// didUpdate = true
17+
// }
1818

1919
if (version !== undefined && version !== "") {
2020
try {

0 commit comments

Comments
 (0)