codify-plugin-lib 1.0.182-beta61 → 1.0.182-beta62

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.
@@ -192,7 +192,7 @@ Brew can be installed using Codify:
192
192
  if (Utils.isLinux()) {
193
193
  const isAptInstalled = await $.spawnSafe('which apt');
194
194
  if (isAptInstalled.status === SpawnStatus.SUCCESS) {
195
- const { status } = await $.spawnSafe(`apt remove -y --purge ${packageName}`, { interactive: true, requiresRoot: true, env: { DEBIAN_FRONTEND: 'noninteractive' } });
195
+ const { status } = await $.spawnSafe(`apt autoremove -y --purge ${packageName}`, { interactive: true, requiresRoot: true, env: { DEBIAN_FRONTEND: 'noninteractive' } });
196
196
  return status === SpawnStatus.SUCCESS;
197
197
  }
198
198
  const isDnfInstalled = await $.spawnSafe('which dnf');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codify-plugin-lib",
3
- "version": "1.0.182-beta61",
3
+ "version": "1.0.182-beta62",
4
4
  "description": "Library plugin library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -242,7 +242,7 @@ Brew can be installed using Codify:
242
242
  if (Utils.isLinux()) {
243
243
  const isAptInstalled = await $.spawnSafe('which apt');
244
244
  if (isAptInstalled.status === SpawnStatus.SUCCESS) {
245
- const { status } = await $.spawnSafe(`apt remove -y --purge ${packageName}`, { interactive: true, requiresRoot: true, env: { DEBIAN_FRONTEND: 'noninteractive' } });
245
+ const { status } = await $.spawnSafe(`apt autoremove -y --purge ${packageName}`, { interactive: true, requiresRoot: true, env: { DEBIAN_FRONTEND: 'noninteractive' } });
246
246
  return status === SpawnStatus.SUCCESS;
247
247
  }
248
248