ramm 0.0.52 → 0.0.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ramm.js +1 -1
- package/package.json +1 -1
package/dist/ramm.js
CHANGED
|
@@ -138,7 +138,7 @@ var dnf_os = ["rocky", "fedora", "alma"];
|
|
|
138
138
|
var installSystemPackage = async (packageName, context) => {
|
|
139
139
|
const osName = (await $`cat /etc/os-release | grep ^ID= | cut -d'=' -f2`.text()).trim();
|
|
140
140
|
const checkResult = await execCommandMayError(`which ${packageName}`, {}, context);
|
|
141
|
-
if (checkResult.spawnResult.exitCode
|
|
141
|
+
if (checkResult.spawnResult.exitCode === 0) {
|
|
142
142
|
return;
|
|
143
143
|
}
|
|
144
144
|
if (osName === "ubuntu") {
|
package/package.json
CHANGED