penguins-eggs 10.0.41 → 10.0.43

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.
@@ -1,241 +1,12 @@
1
1
  [Desktop Entry]
2
2
  Type=Application
3
3
  Version=1.0
4
- Name=Install System
5
- GenericName=System Installer
6
- Keywords=calamares;system;installer;
7
- #Exec=sh -c "pkexec /usr/bin/calamares"
4
+ Name=Install system
5
+ GenericName=Live Installer
6
+ Comment=Install the operating system to disk
8
7
  Exec=/usr/sbin/install-system.sh
9
- TryExec=/usr/sbin/install-system.sh
10
- Comment=Calamares — System Installer
11
- Icon=install-system
12
8
  Terminal=false
13
9
  StartupNotify=true
10
+ Type=Application
14
11
  Categories=Qt;System;
15
- X-AppStream-Ignore=true
16
-
17
- Name[ar]=تثبيت النظام
18
- Icon[ar]=كالامارس
19
- GenericName[ar]=مثبت النظام
20
- Comment[ar]=كالامارس - مثبت النظام
21
- Name[as]=চিছটেম ইনস্তল কৰক
22
- Icon[as]=কেলামাৰেচ
23
- GenericName[as]=চিছটেম ইনস্তলাৰ
24
- Comment[as]=কেলামাৰেচ — চিছটেম​ ইনস্তলাৰ
25
- Name[az]=Sistemi Quraşdırmaq
26
- Icon[az]=calamares
27
- GenericName[az]=Sistem Quraşdırıcısı
28
- Comment[az]=Calamares Sistem Quraşdırıcısı
29
- Name[be]=Усталяваць сістэму
30
- Icon[be]=calamares
31
- GenericName[be]=Усталёўшчык сістэмы
32
- Comment[be]=Calamares — усталёўшчык сістэмы
33
- Name[bg]=Инсталирай системата
34
- Icon[bg]=calamares
35
- GenericName[bg]=Системен Инсталатор
36
- Comment[bg]=Calamares — Системен Инсталатор
37
- Name[bn]=সিস্টেম ইনস্টল করুন
38
- Icon[bn]=ক্যালামারেস
39
- GenericName[bn]=সিস্টেম ইনস্টলার
40
- Comment[bn]=ক্যালামারেস - সিস্টেম ইনস্টলার
41
- Name[ca]=Instal·la el sistema
42
- Icon[ca]=calamares
43
- GenericName[ca]=Instal·lador de sistema
44
- Comment[ca]=Calamares — Instal·lador de sistema
45
- Name[da]=Installér system
46
- Icon[da]=calamares
47
- GenericName[da]=Systeminstallationsprogram
48
- Comment[da]=Calamares — Systeminstallationsprogram
49
- Name[de]=System installieren
50
- Icon[de]=calamares
51
- GenericName[de]=Installation des Betriebssystems
52
- Comment[de]=Calamares - Installation des Betriebssystems
53
- Name[el]=Εγκατάσταση συστήματος
54
- Icon[el]=calamares
55
- GenericName[el]=Εγκατάσταση συστήματος
56
- Comment[el]=Calamares — Εγκατάσταση συστήματος
57
- Name[en_GB]=Install System
58
- Icon[en_GB]=calamares
59
- GenericName[en_GB]=System Installer
60
- Comment[en_GB]=Calamares — System Installer
61
- Name[es]=Instalar Sistema
62
- Icon[es]=calamares
63
- GenericName[es]=Instalador del Sistema
64
- Comment[es]=Calamares — Instalador del Sistema
65
- Name[et]=Paigalda süsteem
66
- Icon[et]=calamares
67
- GenericName[et]=Süsteemipaigaldaja
68
- Comment[et]=Calamares — süsteemipaigaldaja
69
- Name[eu]=Sistema instalatu
70
- Icon[eu]=calamares
71
- GenericName[eu]=Sistema instalatzailea
72
- Comment[eu]=Calamares - sistema instalatzailea
73
- Name[fa]=نصب سامانه
74
- Icon[fa]=کالامارس
75
- GenericName[fa]=نصب‌کنندهٔ سامانه
76
- Comment[fa]=کالامارس — نصب‌کنندهٔ سامانه
77
- Name[es_PR]=Instalar el sistema
78
- Name[fr]=Installer le système
79
- Icon[fr]=calamares
80
- GenericName[fr]=Installateur système
81
- Comment[fr]=Calamares - Installateur système
82
- Name[fur]=Instale il sisteme
83
- Icon[fur]=calamares
84
- GenericName[fur]=Program di instalazion dal sisteme
85
- Comment[fur]=Calamares — Program di instalazion dal sisteme
86
- Name[gl]=Instalación do Sistema
87
- Icon[gl]=calamares
88
- GenericName[gl]=Instalador de sistemas
89
- Comment[gl]=Calamares — Instalador de sistemas
90
- Name[he]=התקנת מערכת
91
- Icon[he]=calamares
92
- GenericName[he]=אשף התקנה
93
- Comment[he]=Calamares - אשף התקנה
94
- Name[hi]=सिस्टम इंस्टॉल करें
95
- Icon[hi]=calamares
96
- GenericName[hi]=सिस्टम इंस्टॉलर
97
- Comment[hi]=Calamares — सिस्टम इंस्टॉलर
98
- Name[hr]=Instaliraj sustav
99
- Icon[hr]=calamares
100
- GenericName[hr]=Instalacija sustava
101
- Comment[hr]=Calamares — Instalacija sustava
102
- Name[ie]=Installar li sistema
103
- Icon[ie]=calamares
104
- GenericName[ie]=Installator del sistema
105
- Comment[ie]=Calamares — Installator del sistema
106
- Name[hu]=Rendszer telepítése
107
- Icon[hu]=calamares
108
- GenericName[hu]=Rendszertelepítő
109
- Comment[hu]=Calamares – Rendszertelepítő
110
- Name[id]=Instal Sistem
111
- Icon[id]=calamares
112
- GenericName[id]=Pemasang
113
- Comment[id]=Calamares — Pemasang Sistem
114
- Name[is]=Setja upp kerfið
115
- Icon[is]=calamares
116
- GenericName[is]=Kerfis uppsetning
117
- Comment[is]=Calamares — Kerfis uppsetning
118
- Name[cs_CZ]=Nainstalovat systém
119
- Icon[cs_CZ]=calamares
120
- GenericName[cs_CZ]=Instalátor systému
121
- Comment[cs_CZ]=Calamares – instalátor operačních systémů
122
- Name[ja]=システムをインストール
123
- Icon[ja]=calamares
124
- GenericName[ja]=システムインストーラー
125
- Comment[ja]=Calamares — システムインストーラー
126
- Name[ko]=시스템 설치
127
- Icon[ko]=깔라마레스
128
- GenericName[ko]=시스템 설치 관리자
129
- Comment[ko]=깔라마레스 — 시스템 설치 관리자
130
- Name[lt]=Įdiegti Sistemą
131
- Icon[lt]=calamares
132
- GenericName[lt]=Sistemos diegimas į kompiuterį
133
- Comment[lt]=Calamares — Sistemos diegimo programa
134
- Name[it_IT]=Installa il sistema
135
- Icon[it_IT]=calamares
136
- GenericName[it_IT]=Programma d'installazione del sistema
137
- Comment[it_IT]=Calamares — Programma d'installazione del sistema
138
- Name[mk]=Инсталирај го системот
139
- Icon[mk]=calamares
140
- GenericName[mk]=Системен Инсталер
141
- Comment[mk]=Calamares - Системен Инсталер
142
- Name[ml]=സിസ്റ്റം ഇൻസ്റ്റാൾ ചെയ്യുക
143
- Icon[ml]=കലാമാരേസ്
144
- GenericName[ml]=സിസ്റ്റം ഇൻസ്റ്റാളർ
145
- Comment[ml]=കലാമാരേസ് - സിസ്റ്റം ഇൻസ്റ്റാളർ
146
- Name[nb]=Installer System
147
- Icon[nb]=calamares
148
- GenericName[nb]=Systeminstallatør
149
- Comment[nb]=Calamares-systeminstallatør
150
- Name[nl]=Installeer systeem
151
- Icon[nl]=calamares
152
- GenericName[nl]=Installatieprogramma
153
- Comment[nl]=Calamares — Installatieprogramma
154
- Name[az_AZ]=Sistemi quraşdırmaq
155
- Icon[az_AZ]=calamares
156
- GenericName[az_AZ]=Sistem quraşdırcısı
157
- Comment[az_AZ]=Calamares — Sistem Quraşdırıcısı
158
- Name[pl]=Zainstaluj system
159
- Icon[pl]=calamares
160
- GenericName[pl]=Instalator systemu
161
- Comment[pl]=Calamares — Instalator systemu
162
- Name[pt_BR]=Sistema de Instalação
163
- Icon[pt_BR]=calamares
164
- GenericName[pt_BR]=Instalador de Sistema
165
- Comment[pt_BR]=Calamares — Instalador de Sistema
166
- Name[ro]=Instalează sistemul
167
- Icon[ro]=calamares
168
- GenericName[ro]=Instalator de sistem
169
- Comment[ro]=Calamares — Instalator de sistem
170
- Name[ru]=Установить систему
171
- Icon[ru]=calamares
172
- GenericName[ru]=Установщик системы
173
- Comment[ru]=Calamares - Установщик системы
174
- Name[sk]=Inštalovať systém
175
- Icon[sk]=calamares
176
- GenericName[sk]=Inštalátor systému
177
- Comment[sk]=Calamares — Inštalátor systému
178
- Name[sl]=Namesti sistem
179
- Name[sq]=Instalo Sistemin
180
- Icon[sq]=calamares
181
- GenericName[sq]=Instalues Sistemi
182
- Comment[sq]=Calamares — Instalues Sistemi
183
- Name[fi_FI]=Asenna Järjestelmä
184
- Icon[fi_FI]=calamares
185
- GenericName[fi_FI]=Järjestelmän Asennusohjelma
186
- Comment[fi_FI]=Calamares — Järjestelmän Asentaja
187
- Name[sr@latin]=Instaliraj sistem
188
- Name[sr]=Инсталирај систем
189
- Icon[sr]=calamares
190
- GenericName[sr]=Инсталатер система
191
- Comment[sr]=Каламарес — инсталатер система
192
- Name[sv]=Installera system
193
- Icon[sv]=calamares
194
- GenericName[sv]=Systeminstallerare
195
- Comment[sv]=Calamares — Systeminstallerare
196
- Name[tg]=Насбкунии низом
197
- Icon[tg]=calamares
198
- GenericName[tg]=Насбкунандаи низомӣ
199
- Comment[tg]=Calamares — Насбкунандаи низомӣ
200
- Name[th]=ติดตั้งระบบ
201
- Name[uk]=Встановити Систему
202
- Icon[uk]=calamares
203
- GenericName[uk]=Встановлювач системи
204
- Comment[uk]=Calamares - Встановлювач системи
205
- Name[vi]=Cài đặt hệ thống
206
- Icon[vi]=calamares
207
- GenericName[vi]=Bộ cài đặt hệ thống
208
- Comment[vi]=Calamares — Bộ cài đặt hệ thống
209
- Name[zh_CN]=安装系统
210
- Icon[zh_CN]=calamares
211
- GenericName[zh_CN]=系统安装程序
212
- Comment[zh_CN]=Calamares — 系统安装程序
213
- Name[zh_TW]=安裝系統
214
- Icon[zh_TW]=calamares
215
- GenericName[zh_TW]=系統安裝程式
216
- Comment[zh_TW]=Calamares ── 系統安裝程式
217
- Name[ast]=Instalar el sistema
218
- Icon[ast]=calamares
219
- GenericName[ast]=Instalador del sistema
220
- Comment[ast]=Calamares — Instalador del sistema
221
- Name[eo]=Instali Sistemo
222
- Icon[eo]=calamares
223
- GenericName[eo]=Sistema Instalilo
224
- Comment[eo]=Calamares — Sistema Instalilo
225
- Name[ne_NP]= सिस्टम इन्स्टल गर्नुहोस्
226
- Icon[ne_NP]=Calamares
227
- GenericName[ne_NP]=सिस्टम इन्स्टलर
228
- Comment[ne_NP]=Calamares - सिस्टम इन्स्टलर
229
- Name[es_MX]=Instalar el Sistema
230
- Icon[es_MX]=calamares
231
- GenericName[es_MX]=Instalador del sistema
232
- Comment[es_MX]=Calamares - Instalador del sistema
233
- Name[pt_PT]=Instalar Sistema
234
- Icon[pt_PT]=calamares
235
- GenericName[pt_PT]=Instalador de Sistema
236
- Comment[pt_PT]=Calamares - Instalador de Sistema
237
- Name[tr_TR]=Sistemi Yükle
238
- Icon[tr_TR]=calamares
239
- GenericName[tr_TR]=Sistem Yükleyici
240
- Comment[tr_TR]=Calamares — Sistem Yükleyici
241
-
12
+ Icon=install-system.png
@@ -61,7 +61,7 @@
61
61
  distroLike: Devuan
62
62
  family: debian
63
63
  ids:
64
- - "excalibur"
64
+ - "unknown"
65
65
 
66
66
  #
67
67
  # UBUNTU
@@ -0,0 +1,3 @@
1
+ # Devuan excalibur
2
+
3
+ It take all configuration of Debian buster
package/conf/tools.yaml CHANGED
@@ -3,19 +3,20 @@
3
3
  ---
4
4
  penguins_eggs_conf: /etc/penguins-eggs.d/eggs.yaml
5
5
 
6
+ # path to local iso
7
+ localPathIso: /home/eggs
8
+
6
9
  # you can adapt this configuration to your needs
7
10
  remoteHost: 192.168.1.2
8
11
 
9
- # path to remote host
10
- remotePathDeb: /eggs/
11
- remotePathIso: /var/lib/vz/template/iso/
12
-
13
12
  # always root
14
13
  remoteUser: root
15
14
 
16
- # path to local host
17
- localPathDeb: /home/artisan/penguins-eggs/perrisbrewery/workdir/
18
- localPathIso: /home/eggs
15
+ # path to remote host
16
+ remotePathPackages: /eggs
17
+ remotePathIso: /var/lib/vz/template/iso/
18
+
19
19
 
20
- # filter package files
21
- filterDeb: penguins-eggs_10.?.*-?_
20
+ # NOT used more
21
+ filterPackages: _not_used_more
22
+ localPathDeb: _not_used_more
@@ -27,6 +27,7 @@ export default class Bleach {
27
27
  const distro = new Distro();
28
28
  switch (distro.familyId) {
29
29
  case 'debian': {
30
+ // await exec(`apt remove $(dpkg -l | grep linux-image | awk '{print $2}' | grep -v $(uname -r))`)
30
31
  await exec('apt-get clean', echo);
31
32
  await exec('apt-get autoclean', echo);
32
33
  const lockFile = '/var/lib/apt/lists/lock';
@@ -34,19 +35,23 @@ export default class Bleach {
34
35
  break;
35
36
  }
36
37
  case 'archlinux': {
37
- await exec('pacman -Scc --noconfirm ', Utils.setEcho(true));
38
+ // await exec(`pacman -R $(pacman -Q | grep linux | grep -v $(uname -r))`)
39
+ await exec('yes | sudo pacman -Scc', Utils.setEcho(true));
38
40
  break;
39
41
  }
40
42
  case 'alpine': {
43
+ // await exec(`apk del $(apk info | grep linux- | grep -v $(uname -r))`)
41
44
  await exec('apk cache clean', echo);
42
45
  await exec('apk cache purge', echo);
43
46
  break;
44
47
  }
45
48
  case 'fedora': {
49
+ await exec(`dnf remove $(dnf repoquery --installonly --latest-limit=-1 -q)`);
46
50
  await exec(`dnf clean all`, echo);
47
51
  break;
48
52
  }
49
53
  case 'opensuse': {
54
+ // await exec(`zypper remove $(rpm -qa | grep kernel | grep -v $(uname -r))`)
50
55
  await exec(`zypper clean`, echo);
51
56
  break;
52
57
  }
@@ -177,6 +177,11 @@ class Distro {
177
177
  this.codenameLikeId = 'daedalus';
178
178
  break;
179
179
  }
180
+ case 'excalibur': {
181
+ this.distroLike = 'Devuan';
182
+ this.codenameLikeId = 'excalibur';
183
+ break;
184
+ }
180
185
  /**
181
186
  * Ubuntu
182
187
  */
@@ -21,13 +21,8 @@ export default class Archlinux {
21
21
  static async calamaresInstall(verbose = false) {
22
22
  verbose = true; // serve per pacman
23
23
  const echo = Utils.setEcho(verbose);
24
- // const cal_eggs = 'arco-calamares-3.3.2-02-x86_64.pkg.tar.zst' // 2024-02-10
25
- // const cal_eggs = 'arco-calamares-3.3.5-02-x86_64.pkg.tar.zst' // 2024-03-10
26
- // const cal_eggs = 'calamares-garuda-3.3.5.r19.g10acebff4-1-x86_64.pkg.tar.zst' // 2024-03-10
27
- // const cal_eggs = 'arco-calamares-3.3.6-06-x86_64.pkg.tar.zst' // 24/04/27
28
- // const cal_eggs = 'calamares-eggs-3.3.8.r39.g80ef430-1-x86_64.pkg.tar.zst' // 12/07/24
29
24
  const cal_eggs = 'calamares-eggs-3.3.9-1-x86_64.pkg.tar.zst'; // 01/09/2024
30
- let cmd = `wget -O /tmp/${cal_eggs} https://sourceforge.net/projects/penguins-eggs/files/PKGBUILD/${cal_eggs}/download`;
25
+ let cmd = `wget -O /tmp/${cal_eggs} https://sourceforge.net/projects/penguins-eggs/files/Packages/AUR/${cal_eggs}/download`;
31
26
  try {
32
27
  await exec(cmd, echo);
33
28
  cmd = `pacman -U /tmp/${cal_eggs}`;
@@ -49,7 +44,7 @@ export default class Archlinux {
49
44
  verbose = true; // serve per pacman
50
45
  let removed = false;
51
46
  const echo = Utils.setEcho(verbose);
52
- const calPKGs = ['arco-calamares', 'calamares', 'calamares-garuda'];
47
+ const calPKGs = ['calamares', 'calamares-eggs'];
53
48
  for (const calPKG of calPKGs) {
54
49
  if (await this.packagePacmanAvailable(calPKG)) {
55
50
  await exec(`pacman -R ${calPKG}`, echo);
@@ -111,6 +111,11 @@ export default class Incubator {
111
111
  await daedalus.create();
112
112
  break;
113
113
  }
114
+ case 'excalibur': {
115
+ const excalibur = new Buster(this.installer, this.remix, this.distro, this.user_opt, release, this.theme, this.isClone, this.verbose);
116
+ await excalibur.create();
117
+ break;
118
+ }
114
119
  /**
115
120
  * UBUNTU
116
121
  */
@@ -47,11 +47,6 @@ export function installer() {
47
47
  const distro = new Distro();
48
48
  if (distro.isCalamaresAvailable) {
49
49
  installer.template = '/etc/penguins-eggs.d/distros/' + distro.codenameLikeId + '/calamares/';
50
- /*
51
- if (distro.distroId === 'ManjaroLinux') {
52
- installer.template = '/etc/penguins-eggs.d/distros/' + distro.codenameLikeId + '/calamares-3.2/'
53
- }
54
- */
55
50
  installer.templateModules = installer.template + 'modules/';
56
51
  installer.templateMultiarch = installer.template + 'calamares-modules/';
57
52
  }
@@ -292,9 +292,12 @@ export default class Ovary {
292
292
  /**
293
293
  * Scrivania/install-system.desktop
294
294
  */
295
- let installerUrl = 'install-system.desktop';
296
- let installerIcon = 'install-system.sh';
295
+ let installerLink = 'install-system.desktop';
297
296
  if (Pacman.calamaresExists()) {
297
+ if (this.settings.distro.distroId === 'BigLinux') {
298
+ let file2edit = path.resolve(__dirname, `../../addons/${theme}/theme/applications/install-system.desktop`);
299
+ await exec(`sed -i 's|^Exec=.*|Exec=/usr/bin/calamares_polkit %f|' ${file2edit}`);
300
+ }
298
301
  shx.cp(path.resolve(__dirname, `../../addons/${theme}/theme/applications/install-system.desktop`), `${this.settings.work_dir.merged}/usr/share/applications/`);
299
302
  }
300
303
  else if (Pacman.packageIsInstalled('live-installer')) {
@@ -306,13 +309,11 @@ export default class Ovary {
306
309
  // carico in filesystem.live packages-remove
307
310
  shx.cp(path.resolve(__dirname, '../../assets/live-installer/filesystem.packages-remove'), `${this.settings.iso_work}/live/`);
308
311
  shx.touch(`${this.settings.iso_work}/live/filesystem.packages`);
309
- installerUrl = 'penguins-live-installer.desktop';
310
- installerIcon = 'utilities-terminal';
312
+ installerLink = 'penguins-live-installer.desktop';
311
313
  shx.cp(path.resolve(__dirname, '../../assets/penguins-live-installer.desktop'), `${this.settings.work_dir.merged}/usr/share/applications/`);
312
314
  }
313
315
  else {
314
- installerUrl = 'penguins-krill.desktop';
315
- installerIcon = 'utilities-terminal';
316
+ installerLink = 'penguins-krill.desktop';
316
317
  shx.cp(path.resolve(__dirname, '../../assets/penguins-krill.desktop'), `${this.settings.work_dir.merged}/usr/share/applications/`);
317
318
  }
318
319
  /**
@@ -359,7 +360,7 @@ export default class Ovary {
359
360
  text += ' DESKTOP=$(xdg-user-dir DESKTOP)\n';
360
361
  text += ' sleep 1\n';
361
362
  text += 'done\n';
362
- text += `cp /usr/share/applications/${installerUrl} "$DESKTOP"\n`;
363
+ text += `cp /usr/share/applications/${installerLink} "$DESKTOP"\n`;
363
364
  if (Pacman.packageIsInstalled('lxde-core')) {
364
365
  if (!noicons) {
365
366
  text += this.lxdeLink('penguins-eggs.desktop', "Penguins' eggs", 'eggs');
@@ -395,9 +396,9 @@ export default class Ovary {
395
396
  text += 'test -f /usr/share/applications/penguins-eggs.desktop && cp /usr/share/applications/penguins-eggs.desktop "$DESKTOP"\n';
396
397
  text += 'test -f "$DESKTOP"/op && chmod a+x "$DESKTOP"/penguins-eggs.desktop\n';
397
398
  text += 'test -f "$DESKTOP"/penguins-eggs.desktop && gio set "$DESKTOP"/penguins-eggs.desktop metadata::trusted true\n';
398
- text += `test -f /usr/share/applications/${installerUrl} && cp /usr/share/applications/${installerUrl} "$DESKTOP"\n`;
399
- text += `test -f "$DESKTOP"/${installerUrl} && chmod a+x "$DESKTOP"/${installerUrl}\n`;
400
- text += `test -f "$DESKTOP"/${installerUrl} && gio set "$DESKTOP"/${installerUrl} metadata::trusted true\n`;
399
+ text += `test -f /usr/share/applications/${installerLink} && cp /usr/share/applications/${installerLink} "$DESKTOP"\n`;
400
+ text += `test -f "$DESKTOP"/${installerLink} && chmod a+x "$DESKTOP"/${installerLink}\n`;
401
+ text += `test -f "$DESKTOP"/${installerLink} && gio set "$DESKTOP"/${installerLink} metadata::trusted true\n`;
401
402
  }
402
403
  else if (Pacman.packageIsInstalled('xfce4-session')) {
403
404
  text += `# xfce: enable-desktop-links\n`;
@@ -739,7 +740,7 @@ export default class Ovary {
739
740
  * mkinitramfs() Debian
740
741
  */
741
742
  async initrdDebian(verbose = false) {
742
- Utils.warning(`creating ${path.basename(this.settings.initrdImg)} Debian/Devuan/Ubuntu on ISO/live`);
743
+ Utils.warning(`creating ${path.basename(this.settings.initrdImg)} using mkinitramfs on ISO/live`);
743
744
  let isCrypted = false;
744
745
  if (fs.existsSync('/etc/crypttab')) {
745
746
  isCrypted = true;
@@ -118,11 +118,6 @@ export default class Pacman {
118
118
  * Installa manPage
119
119
  */
120
120
  static manPageInstall(verbose?: boolean): Promise<void>;
121
- /**
122
- * restuisce VERO se il pacchetto è installato
123
- * @param debPackage
124
- */
125
- static packageAptAvailable(packageName: string): Promise<boolean>;
126
121
  /**
127
122
  *
128
123
  * @param debPackage
@@ -358,6 +358,13 @@ export default class Pacman {
358
358
  else if (this.distro().codenameLikeId === 'daedalus') {
359
359
  const dest = '/etc/penguins-eggs.d/distros/daedalus';
360
360
  await exec(`cp -r ${buster}/calamares ${dest}/calamares`, echo);
361
+ /**
362
+ * Devuan excalibur: eredita tutto da buster
363
+ */
364
+ }
365
+ else if (this.distro().codenameLikeId === 'excalibur') {
366
+ const dest = '/etc/penguins-eggs.d/distros/excalibur';
367
+ await exec(`cp -r ${buster}/calamares ${dest}/calamares`, echo);
361
368
  /***********************************************************************************
362
369
  * Ubuntu
363
370
  **********************************************************************************/
@@ -638,17 +645,6 @@ export default class Pacman {
638
645
  }
639
646
  }
640
647
  }
641
- /**
642
- * restuisce VERO se il pacchetto è installato
643
- * @param debPackage
644
- */
645
- static async packageAptAvailable(packageName) {
646
- let available = false;
647
- if (this.distro().familyId === 'debian') {
648
- available = Debian.packageIsInstalled(packageName);
649
- }
650
- return available;
651
- }
652
648
  /**
653
649
  *
654
650
  * @param debPackage
@@ -6,13 +6,9 @@
6
6
  * license: MIT
7
7
  */
8
8
  interface IEggsConfigTools {
9
- filterDeb: string;
10
- localPathDeb: string;
11
- localPathDoc: string;
12
9
  localPathIso: string;
13
10
  remoteHost: string;
14
- remotePathDeb: string;
15
- remotePathDoc: string;
11
+ remotePathPackages: string;
16
12
  remotePathIso: string;
17
13
  remoteUser: string;
18
14
  }
@@ -29,13 +29,9 @@ export default class Tools {
29
29
  const loaded = yaml.load(fs.readFileSync(this.tools_yaml, 'utf8'));
30
30
  this.config.remoteHost = loaded.remoteHost;
31
31
  this.config.remoteUser = loaded.remoteUser;
32
- this.config.remotePathDeb = loaded.remotePathDeb;
33
- this.config.remotePathDoc = loaded.remotePathDoc;
32
+ this.config.remotePathPackages = loaded.remotePathPackages;
34
33
  this.config.remotePathIso = loaded.remotePathIso;
35
- this.config.localPathDeb = loaded.localPathDeb;
36
- this.config.localPathDoc = loaded.localPathDoc;
37
34
  this.config.localPathIso = loaded.localPathIso;
38
- this.config.filterDeb = loaded.filterDeb;
39
35
  /**
40
36
  * da eggs
41
37
  */
@@ -95,16 +95,16 @@ export default class Calamares extends Command {
95
95
  Utils.warning('calamares: configuring policies');
96
96
  await Pacman.calamaresPolicies();
97
97
  }
98
- }
99
- /**
100
- * configure
101
- */
102
- if (await this.settings.load()) {
103
- Utils.warning(`${installer}: creating configuration files`);
104
- await this.settings.loadRemix(theme);
105
- const isClone = false;
106
- this.incubator = new Incubator(this.settings.remix, this.settings.distro, this.settings.config.user_opt, theme, isClone, verbose);
107
- await this.incubator.config(release);
98
+ /**
99
+ * configure
100
+ */
101
+ if (await this.settings.load()) {
102
+ Utils.warning(`${installer}: creating configuration files`);
103
+ await this.settings.loadRemix(theme);
104
+ const isClone = false;
105
+ this.incubator = new Incubator(this.settings.remix, this.settings.distro, this.settings.config.user_opt, theme, isClone, verbose);
106
+ await this.incubator.config(release);
107
+ }
108
108
  }
109
109
  }
110
110
  }
@@ -6,7 +6,8 @@
6
6
  * license: MIT
7
7
  */
8
8
  import { Command } from '@oclif/core';
9
- export default class ExportDeb extends Command {
9
+ import Tools from '../../classes/tools.js';
10
+ export default class ExportPkg extends Command {
10
11
  static description: string;
11
12
  static examples: string[];
12
13
  static flags: {
@@ -15,5 +16,26 @@ export default class ExportDeb extends Command {
15
16
  help: import("@oclif/core/interfaces").BooleanFlag<void>;
16
17
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
17
18
  };
19
+ user: string;
20
+ all: boolean;
21
+ clean: boolean;
22
+ verbose: boolean;
23
+ echo: {};
24
+ Tu: Tools;
25
+ /**
26
+ *
27
+ */
18
28
  run(): Promise<void>;
29
+ /**
30
+ * manjaro
31
+ */
32
+ private manjaro;
33
+ /**
34
+ * AUR
35
+ */
36
+ private aur;
37
+ /**
38
+ * DEBS
39
+ */
40
+ private debs;
19
41
  }