penguins-eggs 9.3.26 → 9.3.28

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 (142) hide show
  1. package/.oclif.manifest.json +1 -1
  2. package/conf/derivatives.yaml +7 -0
  3. package/dist/classes/bleach.js +26 -24
  4. package/dist/classes/compressors.js +7 -5
  5. package/dist/classes/daddy.js +38 -36
  6. package/dist/classes/distro.js +30 -27
  7. package/dist/classes/family/archlinux.js +21 -19
  8. package/dist/classes/family/debian.js +33 -31
  9. package/dist/classes/family/fedora.js +19 -17
  10. package/dist/classes/family/suse.js +19 -17
  11. package/dist/classes/incubation/branding.js +8 -6
  12. package/dist/classes/incubation/distros/bionic.js +5 -3
  13. package/dist/classes/incubation/distros/buster.js +5 -3
  14. package/dist/classes/incubation/distros/focal.js +5 -3
  15. package/dist/classes/incubation/distros/jessie.js +6 -4
  16. package/dist/classes/incubation/distros/rolling.js +9 -7
  17. package/dist/classes/incubation/fisherman-helper/displaymanager.js +5 -3
  18. package/dist/classes/incubation/fisherman-helper/packages.js +17 -15
  19. package/dist/classes/incubation/fisherman.js +19 -19
  20. package/dist/classes/incubation/incubator.js +37 -35
  21. package/dist/classes/incubation/installer.js +8 -6
  22. package/dist/classes/initrd.js +5 -3
  23. package/dist/classes/keyboards.js +25 -23
  24. package/dist/classes/locales.js +19 -17
  25. package/dist/classes/n8.js +4 -2
  26. package/dist/classes/network.js +9 -9
  27. package/dist/classes/ovary.js +280 -281
  28. package/dist/classes/pacman.js +128 -128
  29. package/dist/classes/pve-live.js +7 -5
  30. package/dist/classes/pxe.js +141 -138
  31. package/dist/classes/settings.js +34 -32
  32. package/dist/classes/sources_list.js +31 -31
  33. package/dist/classes/systemctl.js +16 -14
  34. package/dist/classes/tailor.js +255 -262
  35. package/dist/classes/tools.js +7 -5
  36. package/dist/classes/users.js +30 -28
  37. package/dist/classes/utils.js +22 -20
  38. package/dist/classes/xdg.js +60 -58
  39. package/dist/classes/yolk.js +33 -33
  40. package/dist/commands/adapt.js +14 -12
  41. package/dist/commands/analyze.js +48 -15
  42. package/dist/commands/calamares.js +28 -26
  43. package/dist/commands/config.js +77 -79
  44. package/dist/commands/cuckoo.js +19 -17
  45. package/dist/commands/dad.js +16 -14
  46. package/dist/commands/export/deb.js +19 -17
  47. package/dist/commands/export/iso.js +17 -15
  48. package/dist/commands/install.js +31 -29
  49. package/dist/commands/kill.js +17 -15
  50. package/dist/commands/mom.js +11 -9
  51. package/dist/commands/produce.js +30 -28
  52. package/dist/commands/status.js +7 -5
  53. package/dist/commands/syncfrom.js +41 -41
  54. package/dist/commands/syncto.js +77 -80
  55. package/dist/commands/tools/clean.js +13 -11
  56. package/dist/commands/tools/ppa.js +26 -24
  57. package/dist/commands/tools/skel.js +18 -16
  58. package/dist/commands/tools/stat.js +12 -10
  59. package/dist/commands/tools/yolk.js +13 -11
  60. package/dist/commands/update.js +29 -27
  61. package/dist/commands/wardrobe/get.js +14 -12
  62. package/dist/commands/wardrobe/list.js +25 -23
  63. package/dist/commands/wardrobe/show.js +25 -23
  64. package/dist/commands/wardrobe/wear.js +24 -22
  65. package/dist/components/elements/information.js +21 -19
  66. package/dist/components/elements/steps.js +4 -2
  67. package/dist/components/elements/title.js +4 -2
  68. package/dist/components/finished.js +10 -8
  69. package/dist/components/install.js +10 -8
  70. package/dist/components/keyboard.js +10 -8
  71. package/dist/components/location.js +10 -8
  72. package/dist/components/network.js +10 -8
  73. package/dist/components/partitions.js +10 -8
  74. package/dist/components/summary.js +10 -8
  75. package/dist/components/users.js +33 -8
  76. package/dist/components/welcome.js +10 -8
  77. package/dist/interfaces/i-packages.js +1 -1
  78. package/dist/interfaces/i-pxe.js +39 -0
  79. package/dist/krill/krill-prepare.js +92 -90
  80. package/dist/krill/krill-sequence.js +148 -145
  81. package/dist/krill/modules/add-user.js +11 -9
  82. package/dist/krill/modules/bootloader-config-ubuntu.js +25 -23
  83. package/dist/krill/modules/bootloader.js +11 -9
  84. package/dist/krill/modules/change-password.js +2 -2
  85. package/dist/krill/modules/del-live-user.js +8 -6
  86. package/dist/krill/modules/fstab.js +35 -33
  87. package/dist/krill/modules/grubcfg.js +8 -6
  88. package/dist/krill/modules/hostname.js +19 -17
  89. package/dist/krill/modules/initramfs-cfg.js +6 -4
  90. package/dist/krill/modules/initramfs.js +17 -15
  91. package/dist/krill/modules/locale-cfg.js +12 -10
  92. package/dist/krill/modules/locale.js +13 -11
  93. package/dist/krill/modules/m-keyboard.js +33 -31
  94. package/dist/krill/modules/m-timezone.js +7 -5
  95. package/dist/krill/modules/machine-id.js +8 -6
  96. package/dist/krill/modules/mkfs.js +7 -7
  97. package/dist/krill/modules/mount-fs.js +22 -22
  98. package/dist/krill/modules/mount-vfs.js +12 -12
  99. package/dist/krill/modules/network-cfg.js +21 -21
  100. package/dist/krill/modules/packages.js +20 -18
  101. package/dist/krill/modules/partition.js +148 -139
  102. package/dist/krill/modules/remove-installer-link.js +5 -3
  103. package/dist/krill/modules/umount.js +9 -7
  104. package/dist/krill/modules/unpackfs.js +8 -6
  105. package/dist/lib/cli-autologin.js +163 -163
  106. package/dist/lib/dependencies.js +10 -10
  107. package/dist/lib/get_address.js +6 -4
  108. package/dist/lib/get_dns.js +6 -4
  109. package/dist/lib/get_domain.js +6 -4
  110. package/dist/lib/get_gateway.js +6 -4
  111. package/dist/lib/get_hostname.js +6 -4
  112. package/dist/lib/get_netmask.js +6 -4
  113. package/dist/lib/get_password.js +8 -6
  114. package/dist/lib/get_root_password.js +7 -5
  115. package/dist/lib/get_userfullname.js +6 -4
  116. package/dist/lib/get_username.js +6 -4
  117. package/dist/lib/select_address_type.js +6 -4
  118. package/dist/lib/select_filesystem_type.js +8 -6
  119. package/dist/lib/select_installation_device.js +7 -5
  120. package/dist/lib/select_installation_mode.js +6 -4
  121. package/dist/lib/select_interface.js +6 -4
  122. package/dist/lib/select_keyboard_layout.js +10 -8
  123. package/dist/lib/select_keyboard_model.js +10 -8
  124. package/dist/lib/select_keyboard_option.js +10 -8
  125. package/dist/lib/select_keyboard_variant.js +10 -8
  126. package/dist/lib/select_languages.js +9 -7
  127. package/dist/lib/select_regions.js +6 -4
  128. package/dist/lib/select_user_swap_choice.js +8 -6
  129. package/dist/lib/select_zones.js +12 -10
  130. package/dist/lib/utils.js +3 -3
  131. package/package.json +12 -5
  132. package/dist/dhcpd/dhcpd.js +0 -222
  133. package/dist/dhcpd/index.js +0 -7
  134. package/dist/dhcpd/packet/converters.js +0 -377
  135. package/dist/dhcpd/packet/options.js +0 -2
  136. package/dist/dhcpd/packet/types.js +0 -2
  137. package/dist/dhcpd/packet.js +0 -251
  138. package/dist/dhcpd/proxy.js +0 -152
  139. package/dist/dhcpd/server.js +0 -152
  140. package/dist/dhcpd/sprintf.js +0 -170
  141. package/dist/dhcpd/utils.js +0 -190
  142. package/dist/interfaces/i-pxe-options.js +0 -2
@@ -5,20 +5,22 @@
5
5
  * email: piero.proietti@gmail.com
6
6
  * license: MIT
7
7
  */
8
+ var __importDefault = (this && this.__importDefault) || function (mod) {
9
+ return (mod && mod.__esModule) ? mod : { "default": mod };
10
+ };
8
11
  Object.defineProperty(exports, "__esModule", { value: true });
9
- const tslib_1 = require("tslib");
10
- const node_fs_1 = tslib_1.__importDefault(require("node:fs"));
11
- const node_path_1 = tslib_1.__importDefault(require("node:path"));
12
- const shelljs_1 = tslib_1.__importDefault(require("shelljs"));
13
- const utils_1 = tslib_1.__importDefault(require("./utils"));
14
- const distro_1 = tslib_1.__importDefault(require("./distro"));
15
- const settings_1 = tslib_1.__importDefault(require("./settings"));
12
+ const node_fs_1 = __importDefault(require("node:fs"));
13
+ const node_path_1 = __importDefault(require("node:path"));
14
+ const shelljs_1 = __importDefault(require("shelljs"));
15
+ const utils_js_1 = __importDefault(require("./utils.js"));
16
+ const distro_js_1 = __importDefault(require("./distro.js"));
17
+ const settings_js_1 = __importDefault(require("./settings.js"));
16
18
  const node_child_process_1 = require("node:child_process");
17
- const utils_2 = require("../lib/utils");
18
- const debian_1 = tslib_1.__importDefault(require("./family/debian"));
19
- const fedora_1 = tslib_1.__importDefault(require("./family/fedora"));
20
- const archlinux_1 = tslib_1.__importDefault(require("./family/archlinux"));
21
- const suse_1 = tslib_1.__importDefault(require("./family/suse"));
19
+ const utils_js_2 = require("../lib/utils.js");
20
+ const debian_js_1 = __importDefault(require("./family/debian.js"));
21
+ const fedora_js_1 = __importDefault(require("./family/fedora.js"));
22
+ const archlinux_js_1 = __importDefault(require("./family/archlinux.js"));
23
+ const suse_js_1 = __importDefault(require("./family/suse.js"));
22
24
  const config_file = '/etc/penguins-eggs.d/eggs.yaml';
23
25
  const config_tools = '/etc/penguins-eggs.d/tools.yaml';
24
26
  /**
@@ -36,7 +38,7 @@ class Pacman {
36
38
  */
37
39
  static distro() {
38
40
  const remix = {};
39
- const distro = new distro_1.default(remix);
41
+ const distro = new distro_js_1.default(remix);
40
42
  return distro;
41
43
  }
42
44
  static whichGrubIsInstalled() {
@@ -68,21 +70,21 @@ class Pacman {
68
70
  static isInstalledXorg() {
69
71
  let installed = false;
70
72
  if (this.distro().familyId === 'debian') {
71
- if (debian_1.default.isInstalledXorg()) {
73
+ if (debian_js_1.default.isInstalledXorg()) {
72
74
  installed = true;
73
75
  }
74
76
  }
75
77
  else if (this.distro().familyId === 'fedora') {
76
- if (fedora_1.default.isInstalledXorg()) {
78
+ if (fedora_js_1.default.isInstalledXorg()) {
77
79
  installed = true;
78
80
  }
79
81
  }
80
82
  else if (this.distro().familyId === 'archlinux') {
81
- if (archlinux_1.default.isInstalledXorg()) {
83
+ if (archlinux_js_1.default.isInstalledXorg()) {
82
84
  installed = true;
83
85
  }
84
86
  }
85
- else if (this.distro().familyId === 'suse' && suse_1.default.isInstalledXorg()) {
87
+ else if (this.distro().familyId === 'suse' && suse_js_1.default.isInstalledXorg()) {
86
88
  installed = true;
87
89
  }
88
90
  return installed;
@@ -94,21 +96,21 @@ class Pacman {
94
96
  static isInstalledWayland() {
95
97
  let installed = false;
96
98
  if (this.distro().familyId === 'debian') {
97
- if (debian_1.default.isInstalledWayland()) {
99
+ if (debian_js_1.default.isInstalledWayland()) {
98
100
  installed = true;
99
101
  }
100
102
  }
101
103
  else if (this.distro().familyId === 'fedora') {
102
- if (fedora_1.default.isInstalledWayland()) {
104
+ if (fedora_js_1.default.isInstalledWayland()) {
103
105
  installed = true;
104
106
  }
105
107
  }
106
108
  else if (this.distro().familyId === 'archlinux') {
107
- if (archlinux_1.default.isInstalledWayland()) {
109
+ if (archlinux_js_1.default.isInstalledWayland()) {
108
110
  installed = true;
109
111
  }
110
112
  }
111
- else if (this.distro().familyId === 'suse' && suse_1.default.isInstalledWayland()) {
113
+ else if (this.distro().familyId === 'suse' && suse_js_1.default.isInstalledWayland()) {
112
114
  installed = true;
113
115
  }
114
116
  return installed;
@@ -120,7 +122,7 @@ class Pacman {
120
122
  static isUefi() {
121
123
  let isUefi = false;
122
124
  if (this.distro().familyId === 'debian') {
123
- if (utils_1.default.machineArch() !== 'i386' && this.packageIsInstalled('grub-efi-' + utils_1.default.machineArch() + '-bin')) {
125
+ if (utils_js_1.default.machineArch() !== 'i386' && this.packageIsInstalled('grub-efi-' + utils_js_1.default.machineArch() + '-bin')) {
124
126
  isUefi = true;
125
127
  }
126
128
  }
@@ -202,16 +204,16 @@ class Pacman {
202
204
  static async prerequisitesInstall(verbose = true) {
203
205
  let retVal = false;
204
206
  if (this.distro().familyId === 'debian') {
205
- retVal = await debian_1.default.prerequisitesInstall(verbose);
207
+ retVal = await debian_js_1.default.prerequisitesInstall(verbose);
206
208
  }
207
209
  else if (this.distro().familyId === 'fedora') {
208
- retVal = await fedora_1.default.prerequisitesInstall(verbose);
210
+ retVal = await fedora_js_1.default.prerequisitesInstall(verbose);
209
211
  }
210
212
  else if (this.distro().familyId === 'archlinux') {
211
- retVal = await archlinux_1.default.prerequisitesInstall(verbose);
213
+ retVal = await archlinux_js_1.default.prerequisitesInstall(verbose);
212
214
  }
213
215
  else if (this.distro().familyId === 'suse') {
214
- retVal = await suse_1.default.prerequisitesInstall(verbose);
216
+ retVal = await suse_js_1.default.prerequisitesInstall(verbose);
215
217
  }
216
218
  return retVal;
217
219
  }
@@ -221,16 +223,16 @@ class Pacman {
221
223
  static async calamaresCheck() {
222
224
  let installed = true;
223
225
  if (this.distro().familyId === 'debian') {
224
- installed = await debian_1.default.calamaresCheck();
226
+ installed = await debian_js_1.default.calamaresCheck();
225
227
  }
226
228
  else if (this.distro().familyId === 'fedora') {
227
- installed = await fedora_1.default.calamaresCheck();
229
+ installed = await fedora_js_1.default.calamaresCheck();
228
230
  }
229
231
  else if (this.distro().familyId === 'archlinux') {
230
- installed = await archlinux_1.default.calamaresCheck();
232
+ installed = await archlinux_js_1.default.calamaresCheck();
231
233
  }
232
234
  else if (this.distro().familyId === 'suse') {
233
- installed = await suse_1.default.calamaresCheck();
235
+ installed = await suse_js_1.default.calamaresCheck();
234
236
  }
235
237
  return installed;
236
238
  }
@@ -251,19 +253,19 @@ class Pacman {
251
253
  static async calamaresInstall(verbose = false) {
252
254
  if (this.isInstalledGui()) {
253
255
  if (this.distro().familyId === 'debian') {
254
- await debian_1.default.calamaresInstall(verbose);
256
+ await debian_js_1.default.calamaresInstall(verbose);
255
257
  }
256
258
  else if (this.distro().familyId === 'fedora') {
257
- await fedora_1.default.calamaresInstall(verbose);
259
+ await fedora_js_1.default.calamaresInstall(verbose);
258
260
  }
259
261
  else if (this.distro().familyId === 'archlinux') {
260
- await archlinux_1.default.calamaresInstall(verbose);
262
+ await archlinux_js_1.default.calamaresInstall(verbose);
261
263
  }
262
264
  else if (this.distro().familyId === 'suse') {
263
- await suse_1.default.calamaresInstall(verbose);
265
+ await suse_js_1.default.calamaresInstall(verbose);
264
266
  }
265
267
  // remove calamares link
266
- await (0, utils_2.exec)('rm -f /usr/share/applications/calamares.desktop');
268
+ await (0, utils_js_2.exec)('rm -f /usr/share/applications/calamares.desktop');
267
269
  }
268
270
  }
269
271
  /**
@@ -271,16 +273,16 @@ class Pacman {
271
273
  */
272
274
  static async calamaresPolicies() {
273
275
  if (this.distro().familyId === 'debian') {
274
- await debian_1.default.calamaresPolicies();
276
+ await debian_js_1.default.calamaresPolicies();
275
277
  }
276
278
  else if (this.distro().familyId === 'fedora') {
277
- await fedora_1.default.calamaresPolicies();
279
+ await fedora_js_1.default.calamaresPolicies();
278
280
  }
279
281
  else if (this.distro().familyId === 'archlinux') {
280
- await archlinux_1.default.calamaresPolicies();
282
+ await archlinux_js_1.default.calamaresPolicies();
281
283
  }
282
284
  else if (this.distro().familyId === 'suse') {
283
- await suse_1.default.calamaresPolicies();
285
+ await suse_js_1.default.calamaresPolicies();
284
286
  }
285
287
  }
286
288
  /**
@@ -289,16 +291,16 @@ class Pacman {
289
291
  static async calamaresRemove(verbose = true) {
290
292
  let retVal = false;
291
293
  if (this.distro().familyId === 'debian') {
292
- retVal = await debian_1.default.calamaresRemove(verbose);
294
+ retVal = await debian_js_1.default.calamaresRemove(verbose);
293
295
  }
294
296
  else if (this.distro().familyId === 'fedora') {
295
- retVal = await fedora_1.default.calamaresRemove(verbose);
297
+ retVal = await fedora_js_1.default.calamaresRemove(verbose);
296
298
  }
297
299
  else if (this.distro().familyId === 'archlinux') {
298
- retVal = await archlinux_1.default.calamaresRemove(verbose);
300
+ retVal = await archlinux_js_1.default.calamaresRemove(verbose);
299
301
  }
300
302
  else if (this.distro().familyId === 'suse') {
301
- retVal = await suse_1.default.calamaresRemove(verbose);
303
+ retVal = await suse_js_1.default.calamaresRemove(verbose);
302
304
  }
303
305
  return retVal;
304
306
  }
@@ -314,9 +316,9 @@ class Pacman {
314
316
  * Ritorna vero se machine-id è uguale
315
317
  */
316
318
  static async configurationMachineNew(verbose = false) {
317
- const settings = new settings_1.default();
319
+ const settings = new settings_js_1.default();
318
320
  await settings.load();
319
- const result = utils_1.default.machineId() !== settings.config.machine_id;
321
+ const result = utils_js_1.default.machineId() !== settings.config.machine_id;
320
322
  if (verbose && result) {
321
323
  console.log('configurationMachineNew: True');
322
324
  }
@@ -327,7 +329,7 @@ class Pacman {
327
329
  */
328
330
  static async configurationFresh() {
329
331
  const config = {};
330
- config.version = utils_1.default.getPackageVersion();
332
+ config.version = utils_js_1.default.getPackageVersion();
331
333
  config.snapshot_dir = '/home/eggs';
332
334
  config.snapshot_prefix = '';
333
335
  config.snapshot_excludes = '/usr/local/share/penguins-eggs/exclude.list';
@@ -353,15 +355,15 @@ class Pacman {
353
355
  }
354
356
  if (!Pacman.isUefi()) {
355
357
  config.make_efi = false;
356
- console.log('Due the lacks of grub-efi-' + utils_1.default.machineArch() + '-bin package set make_efi = false');
358
+ console.log('Due the lacks of grub-efi-' + utils_js_1.default.machineArch() + '-bin package set make_efi = false');
357
359
  }
358
360
  /**
359
361
  * Salvo la configurazione di eggs.yaml
360
362
  */
361
- config.machine_id = utils_1.default.machineId();
362
- config.vmlinuz = utils_1.default.vmlinuz();
363
- config.initrd_img = utils_1.default.initrdImg();
364
- const settings = new settings_1.default();
363
+ config.machine_id = utils_js_1.default.machineId();
364
+ config.vmlinuz = utils_js_1.default.vmlinuz();
365
+ config.initrd_img = utils_js_1.default.initrdImg();
366
+ const settings = new settings_js_1.default();
365
367
  await settings.save(config);
366
368
  }
367
369
  /**
@@ -410,15 +412,15 @@ class Pacman {
410
412
  * Rimozione dei file di configurazione
411
413
  */
412
414
  static async configurationRemove(verbose = true) {
413
- const echo = utils_1.default.setEcho(verbose);
415
+ const echo = utils_js_1.default.setEcho(verbose);
414
416
  if (node_fs_1.default.existsSync('/etc/penguins-eggs.d')) {
415
- await (0, utils_2.exec)('rm /etc/penguins-eggs.d -rf', echo);
417
+ await (0, utils_js_2.exec)('rm /etc/penguins-eggs.d -rf', echo);
416
418
  }
417
419
  if (node_fs_1.default.existsSync('/usr/local/share/penguins-eggs/exclude.list')) {
418
- await (0, utils_2.exec)('rm /usr/local/share/penguins-eggs/exclude.list', echo);
420
+ await (0, utils_js_2.exec)('rm /usr/local/share/penguins-eggs/exclude.list', echo);
419
421
  }
420
422
  if (node_fs_1.default.existsSync('/etc/calamares')) {
421
- await (0, utils_2.exec)('rm /etc/calamares -rf', echo);
423
+ await (0, utils_js_2.exec)('rm /etc/calamares -rf', echo);
422
424
  }
423
425
  }
424
426
  /**
@@ -429,17 +431,15 @@ class Pacman {
429
431
  if (this.distro().familyId === 'debian') {
430
432
  if (Pacman.packageIsInstalled('bash-completion')) {
431
433
  if (node_fs_1.default.existsSync('/usr/share/bash-completion/completions/')) {
432
- await (0, utils_2.exec)(`cp ${__dirname}/../../scripts/eggs.bash /usr/share/bash-completion/completions/`);
434
+ await (0, utils_js_2.exec)(`cp ${__dirname}/../../scripts/eggs.bash /usr/share/bash-completion/completions/`);
433
435
  }
434
436
  else if (node_fs_1.default.existsSync('/etc/bash_completion.d/')) {
435
- await (0, utils_2.exec)(`cp ${__dirname}/../../scripts/eggs.bash /etc/bash_completion.d/`);
437
+ await (0, utils_js_2.exec)(`cp ${__dirname}/../../scripts/eggs.bash /etc/bash_completion.d/`);
436
438
  }
437
439
  }
438
440
  }
439
- else if (this.distro().familyId === 'archlinux') {
440
- if (Pacman.packageIsInstalled('bash-completion')) {
441
- await (0, utils_2.exec)(`cp ${__dirname}/../../scripts/eggs.bash /usr/share/bash-completion/completions/`);
442
- }
441
+ else if (this.distro().familyId === 'archlinux' && Pacman.packageIsInstalled('bash-completion')) {
442
+ await (0, utils_js_2.exec)(`cp ${__dirname}/../../scripts/eggs.bash /usr/share/bash-completion/completions/`);
443
443
  }
444
444
  }
445
445
  /**
@@ -450,12 +450,12 @@ class Pacman {
450
450
  if (node_fs_1.default.existsSync(manPageSrc)) {
451
451
  const man1Dir = '/usr/share/man/man1/';
452
452
  if (!node_fs_1.default.existsSync(man1Dir)) {
453
- (0, utils_2.exec)(`mkdir ${man1Dir} -p`);
453
+ (0, utils_js_2.exec)(`mkdir ${man1Dir} -p`);
454
454
  }
455
455
  const manPageDest = man1Dir + 'eggs.1.gz';
456
- (0, utils_2.exec)(`cp ${manPageSrc} ${manPageDest}`);
456
+ (0, utils_js_2.exec)(`cp ${manPageSrc} ${manPageDest}`);
457
457
  if (shelljs_1.default.exec('which mandb', { silent: true }).stdout.trim() !== '') {
458
- await (0, utils_2.exec)('mandb > /dev/null');
458
+ await (0, utils_js_2.exec)('mandb > /dev/null');
459
459
  if (verbose) {
460
460
  console.log('manPage eggs installed...');
461
461
  }
@@ -476,9 +476,9 @@ class Pacman {
476
476
  if (verbose) {
477
477
  console.log('distroTemplateInstall');
478
478
  }
479
- const echo = utils_1.default.setEcho(verbose);
480
- const rootPen = utils_1.default.rootPenguin();
481
- await (0, utils_2.exec)(`mkdir /etc/penguins-eggs.d/distros/${this.distro().codenameLikeId}`);
479
+ const echo = utils_js_1.default.setEcho(verbose);
480
+ const rootPen = utils_js_1.default.rootPenguin();
481
+ await (0, utils_js_2.exec)(`mkdir /etc/penguins-eggs.d/distros/${this.distro().codenameLikeId}`);
482
482
  /**
483
483
  * Debian 10 - Buster: è il master per tutte le distro
484
484
  */
@@ -488,35 +488,35 @@ class Pacman {
488
488
  */
489
489
  if (this.distro().codenameLikeId === 'jessie') {
490
490
  const dest = '/etc/penguins-eggs.d/distros/jessie';
491
- await (0, utils_2.exec)(`cp -r ${rootPen}/conf/distros/jessie/krill ${dest}/krill`, echo);
491
+ await (0, utils_js_2.exec)(`cp -r ${rootPen}/conf/distros/jessie/krill ${dest}/krill`, echo);
492
492
  /**
493
493
  * Debian 9 stretch: eredita grub, isolinux e locales da buster, contiene krill al posto di calamares
494
494
  */
495
495
  }
496
496
  else if (this.distro().codenameLikeId === 'stretch') {
497
497
  const dest = '/etc/penguins-eggs.d/distros/stretch';
498
- await (0, utils_2.exec)(`cp -r ${rootPen}/conf/distros/jessie/krill ${dest}/krill`, echo);
498
+ await (0, utils_js_2.exec)(`cp -r ${rootPen}/conf/distros/jessie/krill ${dest}/krill`, echo);
499
499
  /**
500
500
  * Debian 10 buster: eredita tutto da buster
501
501
  */
502
502
  }
503
503
  else if (this.distro().codenameLikeId === 'buster') {
504
504
  const dest = '/etc/penguins-eggs.d/distros/buster';
505
- await (0, utils_2.exec)(`cp -r ${buster}/calamares ${dest}/calamares`, echo);
505
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares ${dest}/calamares`, echo);
506
506
  /**
507
507
  * Debian 11 bullseye: eredita tutto da buster
508
508
  */
509
509
  }
510
510
  else if (this.distro().codenameLikeId === 'bullseye') {
511
511
  const dest = '/etc/penguins-eggs.d/distros/bullseye';
512
- await (0, utils_2.exec)(`cp -r ${buster}/calamares ${dest}/calamares`, echo);
512
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares ${dest}/calamares`, echo);
513
513
  /**
514
514
  * Debian 12 bookworm: eredita tutto da buster
515
515
  */
516
516
  }
517
517
  else if (this.distro().codenameLikeId === 'bookworm') {
518
518
  const dest = '/etc/penguins-eggs.d/distros/bookworm';
519
- await (0, utils_2.exec)(`cp -r ${buster}/calamares ${dest}/calamares`, echo);
519
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares ${dest}/calamares`, echo);
520
520
  /***********************************************************************************
521
521
  * Devuan
522
522
  **********************************************************************************/
@@ -526,21 +526,21 @@ class Pacman {
526
526
  }
527
527
  else if (this.distro().codenameLikeId === 'beowulf') {
528
528
  const dest = '/etc/penguins-eggs.d/distros/beowulf';
529
- await (0, utils_2.exec)(`cp -r ${buster}/calamares ${dest}/calamares`, echo);
529
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares ${dest}/calamares`, echo);
530
530
  /**
531
531
  * Devuan chimaera: eredita tutto da buster
532
532
  */
533
533
  }
534
534
  else if (this.distro().codenameLikeId === 'chimaera') {
535
535
  const dest = '/etc/penguins-eggs.d/distros/chimaera';
536
- await (0, utils_2.exec)(`cp -r ${buster}/calamares ${dest}/calamares`, echo);
536
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares ${dest}/calamares`, echo);
537
537
  /**
538
538
  * Devuan daedalus: eredita tutto da buster
539
539
  */
540
540
  }
541
541
  else if (this.distro().codenameLikeId === 'daedalus') {
542
542
  const dest = '/etc/penguins-eggs.d/distros/daedalus';
543
- await (0, utils_2.exec)(`cp -r ${buster}/calamares ${dest}/calamares`, echo);
543
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares ${dest}/calamares`, echo);
544
544
  /***********************************************************************************
545
545
  * Ubuntu
546
546
  **********************************************************************************/
@@ -551,15 +551,15 @@ class Pacman {
551
551
  else if (this.distro().codenameLikeId === 'bionic') {
552
552
  const dest = '/etc/penguins-eggs.d/distros/bionic';
553
553
  const bionic = `${rootPen}/conf/distros/bionic/*`;
554
- await (0, utils_2.exec)(`cp -r ${bionic} ${dest}`, echo);
554
+ await (0, utils_js_2.exec)(`cp -r ${bionic} ${dest}`, echo);
555
555
  // Poi da buster
556
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/calamares-modules/cleanup ${dest}/calamares/calamares-modules/cleanup`, echo);
557
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk ${dest}/calamares/calamares-modules/sources-yolk`, echo);
558
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk-undo ${dest}/calamares/calamares-modules/sources-yolk-undo`, echo);
559
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/packages.yml ${dest}/calamares/modules/packages.yml`, echo);
560
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/removeuser.yml ${dest}/calamares/modules/removeuser.yml`, echo);
561
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/unpackfs.yml ${dest}/calamares/modules/unpackfs.yml`, echo);
562
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/displaymanager.yml ${dest}/calamares/modules/displaymanager.yml`, echo);
556
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/calamares-modules/cleanup ${dest}/calamares/calamares-modules/cleanup`, echo);
557
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk ${dest}/calamares/calamares-modules/sources-yolk`, echo);
558
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk-undo ${dest}/calamares/calamares-modules/sources-yolk-undo`, echo);
559
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/packages.yml ${dest}/calamares/modules/packages.yml`, echo);
560
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/removeuser.yml ${dest}/calamares/modules/removeuser.yml`, echo);
561
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/unpackfs.yml ${dest}/calamares/modules/unpackfs.yml`, echo);
562
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/displaymanager.yml ${dest}/calamares/modules/displaymanager.yml`, echo);
563
563
  /**
564
564
  * Ubuntu focal: eredita da focal e buster
565
565
  */
@@ -567,14 +567,14 @@ class Pacman {
567
567
  else if (this.distro().codenameLikeId === 'focal') {
568
568
  const dest = '/etc/penguins-eggs.d/distros/focal';
569
569
  const focal = `${rootPen}/conf/distros/focal/*`;
570
- await (0, utils_2.exec)(`cp -r ${focal} ${dest}`, echo);
571
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/calamares-modules/cleanup ${dest}/calamares/calamares-modules/cleanup`, echo);
572
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk ${dest}/calamares/calamares-modules/sources-yolk`, echo);
573
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk-undo ${dest}/calamares/calamares-modules/sources-yolk-undo`, echo);
574
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/packages.yml ${dest}/calamares/modules/packages.yml`, echo);
575
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/removeuser.yml ${dest}/calamares/modules/removeuser.yml`, echo);
576
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/unpackfs.yml ${dest}/calamares/modules/unpackfs.yml`, echo);
577
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/displaymanager.yml ${dest}/calamares/modules/displaymanager.yml`, echo);
570
+ await (0, utils_js_2.exec)(`cp -r ${focal} ${dest}`, echo);
571
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/calamares-modules/cleanup ${dest}/calamares/calamares-modules/cleanup`, echo);
572
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk ${dest}/calamares/calamares-modules/sources-yolk`, echo);
573
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk-undo ${dest}/calamares/calamares-modules/sources-yolk-undo`, echo);
574
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/packages.yml ${dest}/calamares/modules/packages.yml`, echo);
575
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/removeuser.yml ${dest}/calamares/modules/removeuser.yml`, echo);
576
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/unpackfs.yml ${dest}/calamares/modules/unpackfs.yml`, echo);
577
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/displaymanager.yml ${dest}/calamares/modules/displaymanager.yml`, echo);
578
578
  /**
579
579
  * Ubuntu 21.10 impish: eredita da focal e buster
580
580
  */
@@ -582,14 +582,14 @@ class Pacman {
582
582
  else if (this.distro().codenameLikeId === 'impish') {
583
583
  const dest = '/etc/penguins-eggs.d/distros/impish';
584
584
  const focal = `${rootPen}/conf/distros/focal/*`;
585
- await (0, utils_2.exec)(`cp -r ${focal} ${dest}`, echo);
586
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/calamares-modules/cleanup ${dest}/calamares/calamares-modules/cleanup`, echo);
587
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk ${dest}/calamares/calamares-modules/sources-yolk`, echo);
588
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk-undo ${dest}/calamares/calamares-modules/sources-yolk-undo`, echo);
589
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/packages.yml ${dest}/calamares/modules/packages.yml`, echo);
590
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/removeuser.yml ${dest}/calamares/modules/removeuser.yml`, echo);
591
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/unpackfs.yml ${dest}/calamares/modules/unpackfs.yml`, echo);
592
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/displaymanager.yml ${dest}/calamares/modules/displaymanager.yml`, echo);
585
+ await (0, utils_js_2.exec)(`cp -r ${focal} ${dest}`, echo);
586
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/calamares-modules/cleanup ${dest}/calamares/calamares-modules/cleanup`, echo);
587
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk ${dest}/calamares/calamares-modules/sources-yolk`, echo);
588
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk-undo ${dest}/calamares/calamares-modules/sources-yolk-undo`, echo);
589
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/packages.yml ${dest}/calamares/modules/packages.yml`, echo);
590
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/removeuser.yml ${dest}/calamares/modules/removeuser.yml`, echo);
591
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/unpackfs.yml ${dest}/calamares/modules/unpackfs.yml`, echo);
592
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/displaymanager.yml ${dest}/calamares/modules/displaymanager.yml`, echo);
593
593
  /**
594
594
  * Ubuntu 22.04 jammy: eredita da focal e buster
595
595
  */
@@ -597,14 +597,14 @@ class Pacman {
597
597
  else if (this.distro().codenameLikeId === 'jammy') {
598
598
  const dest = '/etc/penguins-eggs.d/distros/jammy';
599
599
  const focal = `${rootPen}/conf/distros/focal/*`;
600
- await (0, utils_2.exec)(`cp -r ${focal} ${dest}`, echo);
601
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/calamares-modules/cleanup ${dest}/calamares/calamares-modules/cleanup`, echo);
602
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk ${dest}/calamares/calamares-modules/sources-yolk`, echo);
603
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk-undo ${dest}/calamares/calamares-modules/sources-yolk-undo`, echo);
604
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/packages.yml ${dest}/calamares/modules/packages.yml`, echo);
605
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/removeuser.yml ${dest}/calamares/modules/removeuser.yml`, echo);
606
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/unpackfs.yml ${dest}/calamares/modules/unpackfs.yml`, echo);
607
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/displaymanager.yml ${dest}/calamares/modules/displaymanager.yml`, echo);
600
+ await (0, utils_js_2.exec)(`cp -r ${focal} ${dest}`, echo);
601
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/calamares-modules/cleanup ${dest}/calamares/calamares-modules/cleanup`, echo);
602
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk ${dest}/calamares/calamares-modules/sources-yolk`, echo);
603
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk-undo ${dest}/calamares/calamares-modules/sources-yolk-undo`, echo);
604
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/packages.yml ${dest}/calamares/modules/packages.yml`, echo);
605
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/removeuser.yml ${dest}/calamares/modules/removeuser.yml`, echo);
606
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/unpackfs.yml ${dest}/calamares/modules/unpackfs.yml`, echo);
607
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/displaymanager.yml ${dest}/calamares/modules/displaymanager.yml`, echo);
608
608
  /**
609
609
  * Ubuntu 22.10 kinetic: eredita da focal e buster
610
610
  */
@@ -612,14 +612,14 @@ class Pacman {
612
612
  else if (this.distro().codenameLikeId === 'kinetic') {
613
613
  const dest = '/etc/penguins-eggs.d/distros/kinetic';
614
614
  const focal = `${rootPen}/conf/distros/focal/*`;
615
- await (0, utils_2.exec)(`cp -r ${focal} ${dest}`, echo);
616
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/calamares-modules/cleanup ${dest}/calamares/calamares-modules/cleanup`, echo);
617
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk ${dest}/calamares/calamares-modules/sources-yolk`, echo);
618
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk-undo ${dest}/calamares/calamares-modules/sources-yolk-undo`, echo);
619
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/packages.yml ${dest}/calamares/modules/packages.yml`, echo);
620
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/removeuser.yml ${dest}/calamares/modules/removeuser.yml`, echo);
621
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/unpackfs.yml ${dest}/calamares/modules/unpackfs.yml`, echo);
622
- await (0, utils_2.exec)(`cp -r ${buster}/calamares/modules/displaymanager.yml ${dest}/calamares/modules/displaymanager.yml`, echo);
615
+ await (0, utils_js_2.exec)(`cp -r ${focal} ${dest}`, echo);
616
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/calamares-modules/cleanup ${dest}/calamares/calamares-modules/cleanup`, echo);
617
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk ${dest}/calamares/calamares-modules/sources-yolk`, echo);
618
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/calamares-modules/sources-yolk-undo ${dest}/calamares/calamares-modules/sources-yolk-undo`, echo);
619
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/packages.yml ${dest}/calamares/modules/packages.yml`, echo);
620
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/removeuser.yml ${dest}/calamares/modules/removeuser.yml`, echo);
621
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/unpackfs.yml ${dest}/calamares/modules/unpackfs.yml`, echo);
622
+ await (0, utils_js_2.exec)(`cp -r ${buster}/calamares/modules/displaymanager.yml ${dest}/calamares/modules/displaymanager.yml`, echo);
623
623
  /***********************************************************************************
624
624
  * Fedora
625
625
  **********************************************************************************/
@@ -630,7 +630,7 @@ class Pacman {
630
630
  else if (this.distro().codenameLikeId === 'thirtyfive') {
631
631
  const dest = '/etc/penguins-eggs.d/distros/thirtyfive/';
632
632
  const thirtytive = `${rootPen}/conf/distros/thirtyfive/*`;
633
- await (0, utils_2.exec)(`cp -r ${thirtytive} ${dest}`, echo);
633
+ await (0, utils_js_2.exec)(`cp -r ${thirtytive} ${dest}`, echo);
634
634
  /***********************************************************************************
635
635
  * Arch Linux
636
636
  **********************************************************************************/
@@ -641,7 +641,7 @@ class Pacman {
641
641
  else if (this.distro().codenameLikeId === 'rolling') {
642
642
  const dest = '/etc/penguins-eggs.d/distros/rolling/';
643
643
  const rolling = `${rootPen}/conf/distros/rolling/*`;
644
- await (0, utils_2.exec)(`cp -r ${rolling} ${dest}`, echo);
644
+ await (0, utils_js_2.exec)(`cp -r ${rolling} ${dest}`, echo);
645
645
  /***********************************************************************************
646
646
  * openSuse
647
647
  **********************************************************************************/
@@ -652,7 +652,7 @@ class Pacman {
652
652
  else if (this.distro().codenameLikeId === 'tumbleweed') {
653
653
  const dest = '/etc/penguins-eggs.d/distros/tumbleweed/';
654
654
  const tumbleweed = `${rootPen}/conf/distros/tumbleweed/*`;
655
- await (0, utils_2.exec)(`cp -r ${tumbleweed} ${dest}`, echo);
655
+ await (0, utils_js_2.exec)(`cp -r ${tumbleweed} ${dest}`, echo);
656
656
  }
657
657
  }
658
658
  /**
@@ -662,16 +662,16 @@ class Pacman {
662
662
  static packageIsInstalled(packageName) {
663
663
  let installed = false;
664
664
  if (this.distro().familyId === 'debian') {
665
- installed = debian_1.default.packageIsInstalled(packageName);
665
+ installed = debian_js_1.default.packageIsInstalled(packageName);
666
666
  }
667
667
  else if (this.distro().familyId === 'fedora') {
668
- installed = fedora_1.default.packageIsInstalled(packageName);
668
+ installed = fedora_js_1.default.packageIsInstalled(packageName);
669
669
  }
670
670
  else if (this.distro().familyId === 'archlinux') {
671
- installed = archlinux_1.default.packageIsInstalled(packageName);
671
+ installed = archlinux_js_1.default.packageIsInstalled(packageName);
672
672
  }
673
673
  else if (this.distro().familyId === 'suse') {
674
- installed = suse_1.default.packageIsInstalled(packageName);
674
+ installed = suse_js_1.default.packageIsInstalled(packageName);
675
675
  }
676
676
  return installed;
677
677
  }
@@ -682,7 +682,7 @@ class Pacman {
682
682
  static async packageAptAvailable(packageName) {
683
683
  let available = false;
684
684
  if (this.distro().familyId === 'debian') {
685
- available = debian_1.default.packageIsInstalled(packageName);
685
+ available = debian_js_1.default.packageIsInstalled(packageName);
686
686
  }
687
687
  return available;
688
688
  }
@@ -694,7 +694,7 @@ class Pacman {
694
694
  static async packageAptLast(debPackage) {
695
695
  let version = '';
696
696
  if (this.distro().familyId === 'debian') {
697
- version = await debian_1.default.packageAptLast(debPackage);
697
+ version = await debian_js_1.default.packageAptLast(debPackage);
698
698
  }
699
699
  return version;
700
700
  }
@@ -712,7 +712,7 @@ class Pacman {
712
712
  installed = true;
713
713
  }
714
714
  else {
715
- utils_1.default.warning(`${cmd} is not in your search path or is not installed!`);
715
+ utils_js_1.default.warning(`${cmd} is not in your search path or is not installed!`);
716
716
  }
717
717
  return installed;
718
718
  }
@@ -724,13 +724,13 @@ class Pacman {
724
724
  static async packageInstall(packageName) {
725
725
  let retVal = false;
726
726
  if (this.distro().familyId === 'debian') {
727
- retVal = await debian_1.default.packageInstall(packageName);
727
+ retVal = await debian_js_1.default.packageInstall(packageName);
728
728
  }
729
729
  else if (this.distro().familyId === 'archlinux') {
730
- retVal = await archlinux_1.default.packageInstall(packageName);
730
+ retVal = await archlinux_js_1.default.packageInstall(packageName);
731
731
  }
732
732
  else if (this.distro().familyId === 'fedora') {
733
- retVal = await fedora_1.default.packageInstall(packageName);
733
+ retVal = await fedora_js_1.default.packageInstall(packageName);
734
734
  }
735
735
  return retVal;
736
736
  }
@@ -6,8 +6,10 @@
6
6
  * license: MIT
7
7
  * pve-live
8
8
  */
9
+ var __importDefault = (this && this.__importDefault) || function (mod) {
10
+ return (mod && mod.__esModule) ? mod : { "default": mod };
11
+ };
9
12
  Object.defineProperty(exports, "__esModule", { value: true });
10
- const tslib_1 = require("tslib");
11
13
  /**
12
14
  * This will create a symbolic link from the system’s copy of the service file (usually in /lib/systemd/system or /etc/systemd/system)
13
15
  * into the location on disk where systemd looks for autostart files (usually /etc/systemd/system/some_target.target.wants.
@@ -16,13 +18,13 @@ const tslib_1 = require("tslib");
16
18
  * sudo systemctl disable application.service
17
19
  * This will remove the symbolic link that indicated that the service should be started automatically.
18
20
  */
19
- const systemctl_1 = tslib_1.__importDefault(require("./systemctl"));
20
- const path_1 = tslib_1.__importDefault(require("path"));
21
- const shelljs_1 = tslib_1.__importDefault(require("shelljs"));
21
+ const systemctl_js_1 = __importDefault(require("./systemctl.js"));
22
+ const path_1 = __importDefault(require("path"));
23
+ const shelljs_1 = __importDefault(require("shelljs"));
22
24
  class PveLive {
23
25
  constructor() {
24
26
  this.systemctl = {};
25
- this.systemctl = new systemctl_1.default();
27
+ this.systemctl = new systemctl_js_1.default();
26
28
  }
27
29
  /**
28
30
  * enable PveLIve