@fabioplunser/epd 0.5.9 → 0.5.10

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/cli.js +2 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -2716,7 +2716,7 @@ mv -f ${shq(path)}.tmp ${shq(path)}`, { label: `${this.name}: write ${path}` });
2716
2716
  const local = localCommand.map((a) => shq(a)).join(" ");
2717
2717
  const source = password ? `{ printf '%s\\n' "$EPD_SUDO_PW"; ${local}; }` : local;
2718
2718
  const script = `set -euo pipefail; ${source} | ${sshArgs.map((a) => shq(a)).join(" ")}`;
2719
- await run(["/bin/sh", "-c", script], {
2719
+ await run(["bash", "-c", script], {
2720
2720
  stream: true,
2721
2721
  label: `pipe \u2192 ${this.name}`,
2722
2722
  env: password ? { EPD_SUDO_PW: password } : undefined
@@ -4112,7 +4112,7 @@ async function ensureImage(host, cfg, version) {
4112
4112
  await host.exec(`docker pull ${shq(ref)} >/dev/null`, { label: `${host.name}: docker pull` });
4113
4113
  } else {
4114
4114
  log.host(host.name, `shipping ${ref} over ssh (no registry configured)`);
4115
- await host.pipeInto("gunzip | docker load", ["/bin/sh", "-c", `docker save ${shq(ref)} | gzip -1`]);
4115
+ await host.pipeInto("gunzip | docker load", ["bash", "-c", `docker save ${shq(ref)} | gzip -1`]);
4116
4116
  }
4117
4117
  }
4118
4118
  async function pruneImages(host, cfg, keep, inUse) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabioplunser/epd",
3
- "version": "0.5.9",
3
+ "version": "0.5.10",
4
4
  "description": "Easy Project Deployer — deploy any project to one or many servers with Docker or PM2, fronted by Traefik.",
5
5
  "type": "module",
6
6
  "author": "Fabio Plünser",