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.
Files changed (2) hide show
  1. package/dist/ramm.js +1 -1
  2. 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 !== 0) {
141
+ if (checkResult.spawnResult.exitCode === 0) {
142
142
  return;
143
143
  }
144
144
  if (osName === "ubuntu") {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ramm",
3
3
  "type": "module",
4
- "version": "0.0.52",
4
+ "version": "0.0.53",
5
5
  "scripts": {
6
6
  "build": "bun build ./src/ramm.ts --target bun --outdir ./dist && cp ./src/bun.sh ./dist/bun.sh",
7
7
  "types": "tsc --project tsconfig.types.json"