codify-plugin-lib 1.0.182-beta60 → 1.0.182-beta61

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.
@@ -165,7 +165,7 @@ Brew can be installed using Codify:
165
165
  if (Utils.isLinux()) {
166
166
  const isAptInstalled = await $.spawnSafe('which apt');
167
167
  if (isAptInstalled.status === SpawnStatus.SUCCESS) {
168
- const { status } = await $.spawnSafe(`apt install ${packageName}`, { interactive: true, requiresRoot: true, env: { DEBIAN_FRONTEND: 'noninteractive' } });
168
+ const { status } = await $.spawnSafe(`apt -y install ${packageName}`, { interactive: true, requiresRoot: true, env: { DEBIAN_FRONTEND: 'noninteractive' } });
169
169
  return status === SpawnStatus.SUCCESS;
170
170
  }
171
171
  const isDnfInstalled = await $.spawnSafe('which dnf');
@@ -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 --purge ${packageName}`, { interactive: true, requiresRoot: true, env: { DEBIAN_FRONTEND: 'noninteractive' } });
195
+ const { status } = await $.spawnSafe(`apt remove -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-beta60",
3
+ "version": "1.0.182-beta61",
4
4
  "description": "Library plugin library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -208,7 +208,7 @@ Brew can be installed using Codify:
208
208
  if (Utils.isLinux()) {
209
209
  const isAptInstalled = await $.spawnSafe('which apt');
210
210
  if (isAptInstalled.status === SpawnStatus.SUCCESS) {
211
- const { status } = await $.spawnSafe(`apt install ${packageName}`, { interactive: true, requiresRoot: true, env: { DEBIAN_FRONTEND: 'noninteractive' } });
211
+ const { status } = await $.spawnSafe(`apt -y install ${packageName}`, { interactive: true, requiresRoot: true, env: { DEBIAN_FRONTEND: 'noninteractive' } });
212
212
  return status === SpawnStatus.SUCCESS;
213
213
  }
214
214
 
@@ -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 --purge ${packageName}`, { interactive: true, requiresRoot: true, env: { DEBIAN_FRONTEND: 'noninteractive' } });
245
+ const { status } = await $.spawnSafe(`apt remove -y --purge ${packageName}`, { interactive: true, requiresRoot: true, env: { DEBIAN_FRONTEND: 'noninteractive' } });
246
246
  return status === SpawnStatus.SUCCESS;
247
247
  }
248
248