penguins-eggs 10.0.32 → 10.0.33
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.
- package/.oclif.manifest.json +192 -192
- package/README.md +26 -26
- package/dist/classes/ovary.js +4 -5
- package/dist/classes/utils.d.ts +6 -10
- package/dist/classes/utils.js +12 -25
- package/manpages/doc/man/eggs.1.gz +0 -0
- package/manpages/doc/man/eggs.html +4 -4
- package/package.json +1 -1
package/.oclif.manifest.json
CHANGED
|
@@ -1023,12 +1023,19 @@
|
|
|
1023
1023
|
"iso.js"
|
|
1024
1024
|
]
|
|
1025
1025
|
},
|
|
1026
|
-
"
|
|
1026
|
+
"wardrobe:get": {
|
|
1027
1027
|
"aliases": [],
|
|
1028
|
-
"args": {
|
|
1029
|
-
|
|
1028
|
+
"args": {
|
|
1029
|
+
"repo": {
|
|
1030
|
+
"description": "repository to get",
|
|
1031
|
+
"name": "repo",
|
|
1032
|
+
"required": false
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1035
|
+
"description": "get warorobe",
|
|
1030
1036
|
"examples": [
|
|
1031
|
-
"
|
|
1037
|
+
"eggs wardrobe get",
|
|
1038
|
+
"eggs wardrobe get your-wardrobe"
|
|
1032
1039
|
],
|
|
1033
1040
|
"flags": {
|
|
1034
1041
|
"help": {
|
|
@@ -1038,16 +1045,8 @@
|
|
|
1038
1045
|
"allowNo": false,
|
|
1039
1046
|
"type": "boolean"
|
|
1040
1047
|
},
|
|
1041
|
-
"nointeractive": {
|
|
1042
|
-
"char": "n",
|
|
1043
|
-
"description": "no user interaction",
|
|
1044
|
-
"name": "nointeractive",
|
|
1045
|
-
"allowNo": false,
|
|
1046
|
-
"type": "boolean"
|
|
1047
|
-
},
|
|
1048
1048
|
"verbose": {
|
|
1049
1049
|
"char": "v",
|
|
1050
|
-
"description": "verbose",
|
|
1051
1050
|
"name": "verbose",
|
|
1052
1051
|
"allowNo": false,
|
|
1053
1052
|
"type": "boolean"
|
|
@@ -1055,7 +1054,7 @@
|
|
|
1055
1054
|
},
|
|
1056
1055
|
"hasDynamicHelp": false,
|
|
1057
1056
|
"hiddenAliases": [],
|
|
1058
|
-
"id": "
|
|
1057
|
+
"id": "wardrobe:get",
|
|
1059
1058
|
"pluginAlias": "penguins-eggs",
|
|
1060
1059
|
"pluginName": "penguins-eggs",
|
|
1061
1060
|
"pluginType": "core",
|
|
@@ -1065,25 +1064,33 @@
|
|
|
1065
1064
|
"relativePath": [
|
|
1066
1065
|
"dist",
|
|
1067
1066
|
"commands",
|
|
1068
|
-
"
|
|
1069
|
-
"
|
|
1067
|
+
"wardrobe",
|
|
1068
|
+
"get.js"
|
|
1070
1069
|
]
|
|
1071
1070
|
},
|
|
1072
|
-
"
|
|
1071
|
+
"wardrobe:list": {
|
|
1073
1072
|
"aliases": [],
|
|
1074
|
-
"args": {
|
|
1075
|
-
|
|
1073
|
+
"args": {
|
|
1074
|
+
"repo": {
|
|
1075
|
+
"description": "wardrobe to get",
|
|
1076
|
+
"name": "repo",
|
|
1077
|
+
"required": false
|
|
1078
|
+
}
|
|
1079
|
+
},
|
|
1080
|
+
"description": "list costumes and accessoires in wardrobe",
|
|
1076
1081
|
"examples": [
|
|
1077
|
-
"
|
|
1078
|
-
"
|
|
1082
|
+
"eggs wardrobe list",
|
|
1083
|
+
"eggs wardrobe list your-wardrobe",
|
|
1084
|
+
"eggs wardrobe list --distro arch"
|
|
1079
1085
|
],
|
|
1080
1086
|
"flags": {
|
|
1081
|
-
"
|
|
1082
|
-
"char": "
|
|
1083
|
-
"description": "
|
|
1084
|
-
"name": "
|
|
1085
|
-
"
|
|
1086
|
-
"
|
|
1087
|
+
"distro": {
|
|
1088
|
+
"char": "d",
|
|
1089
|
+
"description": "distro",
|
|
1090
|
+
"name": "distro",
|
|
1091
|
+
"hasDynamicHelp": false,
|
|
1092
|
+
"multiple": false,
|
|
1093
|
+
"type": "option"
|
|
1087
1094
|
},
|
|
1088
1095
|
"help": {
|
|
1089
1096
|
"char": "h",
|
|
@@ -1092,23 +1099,8 @@
|
|
|
1092
1099
|
"allowNo": false,
|
|
1093
1100
|
"type": "boolean"
|
|
1094
1101
|
},
|
|
1095
|
-
"nointeractive": {
|
|
1096
|
-
"char": "n",
|
|
1097
|
-
"description": "no user interaction",
|
|
1098
|
-
"name": "nointeractive",
|
|
1099
|
-
"allowNo": false,
|
|
1100
|
-
"type": "boolean"
|
|
1101
|
-
},
|
|
1102
|
-
"remove": {
|
|
1103
|
-
"char": "r",
|
|
1104
|
-
"description": "remove penguins-eggs PPA repository",
|
|
1105
|
-
"name": "remove",
|
|
1106
|
-
"allowNo": false,
|
|
1107
|
-
"type": "boolean"
|
|
1108
|
-
},
|
|
1109
1102
|
"verbose": {
|
|
1110
1103
|
"char": "v",
|
|
1111
|
-
"description": "verbose",
|
|
1112
1104
|
"name": "verbose",
|
|
1113
1105
|
"allowNo": false,
|
|
1114
1106
|
"type": "boolean"
|
|
@@ -1116,7 +1108,7 @@
|
|
|
1116
1108
|
},
|
|
1117
1109
|
"hasDynamicHelp": false,
|
|
1118
1110
|
"hiddenAliases": [],
|
|
1119
|
-
"id": "
|
|
1111
|
+
"id": "wardrobe:list",
|
|
1120
1112
|
"pluginAlias": "penguins-eggs",
|
|
1121
1113
|
"pluginName": "penguins-eggs",
|
|
1122
1114
|
"pluginType": "core",
|
|
@@ -1126,17 +1118,24 @@
|
|
|
1126
1118
|
"relativePath": [
|
|
1127
1119
|
"dist",
|
|
1128
1120
|
"commands",
|
|
1129
|
-
"
|
|
1130
|
-
"
|
|
1121
|
+
"wardrobe",
|
|
1122
|
+
"list.js"
|
|
1131
1123
|
]
|
|
1132
1124
|
},
|
|
1133
|
-
"
|
|
1125
|
+
"wardrobe:show": {
|
|
1134
1126
|
"aliases": [],
|
|
1135
|
-
"args": {
|
|
1136
|
-
|
|
1127
|
+
"args": {
|
|
1128
|
+
"repo": {
|
|
1129
|
+
"description": "costume to show",
|
|
1130
|
+
"name": "repo",
|
|
1131
|
+
"required": false
|
|
1132
|
+
}
|
|
1133
|
+
},
|
|
1134
|
+
"description": "show costumes/accessories in wardrobe",
|
|
1137
1135
|
"examples": [
|
|
1138
|
-
"
|
|
1139
|
-
"
|
|
1136
|
+
"eggs wardrobe show colibri",
|
|
1137
|
+
"eggs wardrobe show accessories/firmwares",
|
|
1138
|
+
"eggs wardrobe show accessories/"
|
|
1140
1139
|
],
|
|
1141
1140
|
"flags": {
|
|
1142
1141
|
"help": {
|
|
@@ -1146,45 +1145,63 @@
|
|
|
1146
1145
|
"allowNo": false,
|
|
1147
1146
|
"type": "boolean"
|
|
1148
1147
|
},
|
|
1149
|
-
"
|
|
1150
|
-
"char": "
|
|
1151
|
-
"description": "
|
|
1152
|
-
"name": "
|
|
1153
|
-
"
|
|
1154
|
-
"
|
|
1155
|
-
"type": "option"
|
|
1148
|
+
"json": {
|
|
1149
|
+
"char": "j",
|
|
1150
|
+
"description": "output JSON",
|
|
1151
|
+
"name": "json",
|
|
1152
|
+
"allowNo": false,
|
|
1153
|
+
"type": "boolean"
|
|
1156
1154
|
},
|
|
1157
1155
|
"verbose": {
|
|
1158
1156
|
"char": "v",
|
|
1159
1157
|
"name": "verbose",
|
|
1160
1158
|
"allowNo": false,
|
|
1161
1159
|
"type": "boolean"
|
|
1160
|
+
},
|
|
1161
|
+
"wardrobe": {
|
|
1162
|
+
"char": "w",
|
|
1163
|
+
"description": "wardrobe",
|
|
1164
|
+
"name": "wardrobe",
|
|
1165
|
+
"hasDynamicHelp": false,
|
|
1166
|
+
"multiple": false,
|
|
1167
|
+
"type": "option"
|
|
1162
1168
|
}
|
|
1163
1169
|
},
|
|
1164
1170
|
"hasDynamicHelp": false,
|
|
1165
1171
|
"hiddenAliases": [],
|
|
1166
|
-
"id": "
|
|
1172
|
+
"id": "wardrobe:show",
|
|
1167
1173
|
"pluginAlias": "penguins-eggs",
|
|
1168
1174
|
"pluginName": "penguins-eggs",
|
|
1169
1175
|
"pluginType": "core",
|
|
1170
1176
|
"strict": true,
|
|
1171
1177
|
"enableJsonFlag": false,
|
|
1178
|
+
"example": [
|
|
1179
|
+
"eggs wardrobe show colibri",
|
|
1180
|
+
"eggs wardrobe show accessories/firmwares",
|
|
1181
|
+
"eggs wardrobe show accessories/"
|
|
1182
|
+
],
|
|
1172
1183
|
"isESM": true,
|
|
1173
1184
|
"relativePath": [
|
|
1174
1185
|
"dist",
|
|
1175
1186
|
"commands",
|
|
1176
|
-
"
|
|
1177
|
-
"
|
|
1187
|
+
"wardrobe",
|
|
1188
|
+
"show.js"
|
|
1178
1189
|
]
|
|
1179
1190
|
},
|
|
1180
|
-
"
|
|
1191
|
+
"wardrobe:wear": {
|
|
1181
1192
|
"aliases": [],
|
|
1182
|
-
"args": {
|
|
1183
|
-
|
|
1193
|
+
"args": {
|
|
1194
|
+
"repo": {
|
|
1195
|
+
"description": "costume to wear",
|
|
1196
|
+
"name": "repo",
|
|
1197
|
+
"required": false
|
|
1198
|
+
}
|
|
1199
|
+
},
|
|
1200
|
+
"description": "wear costume/accessories from wardrobe",
|
|
1184
1201
|
"examples": [
|
|
1185
|
-
"eggs
|
|
1186
|
-
"eggs
|
|
1187
|
-
"eggs
|
|
1202
|
+
"sudo eggs wardrobe wear duck",
|
|
1203
|
+
"sudo eggs wardrobe wear accessories/firmwares",
|
|
1204
|
+
"sudo eggs wardrobe wear wagtail/waydroid"
|
|
1188
1205
|
],
|
|
1189
1206
|
"flags": {
|
|
1190
1207
|
"help": {
|
|
@@ -1194,24 +1211,38 @@
|
|
|
1194
1211
|
"allowNo": false,
|
|
1195
1212
|
"type": "boolean"
|
|
1196
1213
|
},
|
|
1197
|
-
"
|
|
1198
|
-
"char": "
|
|
1199
|
-
"description": "
|
|
1200
|
-
"name": "
|
|
1214
|
+
"no_accessories": {
|
|
1215
|
+
"char": "a",
|
|
1216
|
+
"description": "not install accessories",
|
|
1217
|
+
"name": "no_accessories",
|
|
1201
1218
|
"allowNo": false,
|
|
1202
1219
|
"type": "boolean"
|
|
1203
1220
|
},
|
|
1204
|
-
"
|
|
1205
|
-
"char": "
|
|
1206
|
-
"description": "
|
|
1207
|
-
"name": "
|
|
1221
|
+
"no_firmwares": {
|
|
1222
|
+
"char": "f",
|
|
1223
|
+
"description": "not install firmwares",
|
|
1224
|
+
"name": "no_firmwares",
|
|
1208
1225
|
"allowNo": false,
|
|
1209
1226
|
"type": "boolean"
|
|
1227
|
+
},
|
|
1228
|
+
"verbose": {
|
|
1229
|
+
"char": "v",
|
|
1230
|
+
"name": "verbose",
|
|
1231
|
+
"allowNo": false,
|
|
1232
|
+
"type": "boolean"
|
|
1233
|
+
},
|
|
1234
|
+
"wardrobe": {
|
|
1235
|
+
"char": "w",
|
|
1236
|
+
"description": "wardrobe",
|
|
1237
|
+
"name": "wardrobe",
|
|
1238
|
+
"hasDynamicHelp": false,
|
|
1239
|
+
"multiple": false,
|
|
1240
|
+
"type": "option"
|
|
1210
1241
|
}
|
|
1211
1242
|
},
|
|
1212
1243
|
"hasDynamicHelp": false,
|
|
1213
1244
|
"hiddenAliases": [],
|
|
1214
|
-
"id": "
|
|
1245
|
+
"id": "wardrobe:wear",
|
|
1215
1246
|
"pluginAlias": "penguins-eggs",
|
|
1216
1247
|
"pluginName": "penguins-eggs",
|
|
1217
1248
|
"pluginType": "core",
|
|
@@ -1221,16 +1252,16 @@
|
|
|
1221
1252
|
"relativePath": [
|
|
1222
1253
|
"dist",
|
|
1223
1254
|
"commands",
|
|
1224
|
-
"
|
|
1225
|
-
"
|
|
1255
|
+
"wardrobe",
|
|
1256
|
+
"wear.js"
|
|
1226
1257
|
]
|
|
1227
1258
|
},
|
|
1228
|
-
"tools:
|
|
1259
|
+
"tools:clean": {
|
|
1229
1260
|
"aliases": [],
|
|
1230
1261
|
"args": {},
|
|
1231
|
-
"description": "
|
|
1262
|
+
"description": "clean system log, apt, etc",
|
|
1232
1263
|
"examples": [
|
|
1233
|
-
"sudo eggs tools
|
|
1264
|
+
"sudo eggs tools clean"
|
|
1234
1265
|
],
|
|
1235
1266
|
"flags": {
|
|
1236
1267
|
"help": {
|
|
@@ -1240,8 +1271,16 @@
|
|
|
1240
1271
|
"allowNo": false,
|
|
1241
1272
|
"type": "boolean"
|
|
1242
1273
|
},
|
|
1274
|
+
"nointeractive": {
|
|
1275
|
+
"char": "n",
|
|
1276
|
+
"description": "no user interaction",
|
|
1277
|
+
"name": "nointeractive",
|
|
1278
|
+
"allowNo": false,
|
|
1279
|
+
"type": "boolean"
|
|
1280
|
+
},
|
|
1243
1281
|
"verbose": {
|
|
1244
1282
|
"char": "v",
|
|
1283
|
+
"description": "verbose",
|
|
1245
1284
|
"name": "verbose",
|
|
1246
1285
|
"allowNo": false,
|
|
1247
1286
|
"type": "boolean"
|
|
@@ -1249,36 +1288,36 @@
|
|
|
1249
1288
|
},
|
|
1250
1289
|
"hasDynamicHelp": false,
|
|
1251
1290
|
"hiddenAliases": [],
|
|
1252
|
-
"id": "tools:
|
|
1291
|
+
"id": "tools:clean",
|
|
1253
1292
|
"pluginAlias": "penguins-eggs",
|
|
1254
1293
|
"pluginName": "penguins-eggs",
|
|
1255
1294
|
"pluginType": "core",
|
|
1256
1295
|
"strict": true,
|
|
1257
1296
|
"enableJsonFlag": false,
|
|
1258
|
-
"dir": "/var/local/yolk",
|
|
1259
1297
|
"isESM": true,
|
|
1260
1298
|
"relativePath": [
|
|
1261
1299
|
"dist",
|
|
1262
1300
|
"commands",
|
|
1263
1301
|
"tools",
|
|
1264
|
-
"
|
|
1302
|
+
"clean.js"
|
|
1265
1303
|
]
|
|
1266
1304
|
},
|
|
1267
|
-
"
|
|
1305
|
+
"tools:ppa": {
|
|
1268
1306
|
"aliases": [],
|
|
1269
|
-
"args": {
|
|
1270
|
-
|
|
1271
|
-
"description": "repository to get",
|
|
1272
|
-
"name": "repo",
|
|
1273
|
-
"required": false
|
|
1274
|
-
}
|
|
1275
|
-
},
|
|
1276
|
-
"description": "get warorobe",
|
|
1307
|
+
"args": {},
|
|
1308
|
+
"description": "add/remove repo",
|
|
1277
1309
|
"examples": [
|
|
1278
|
-
"eggs
|
|
1279
|
-
"eggs
|
|
1310
|
+
"sudo eggs tools ppa --add",
|
|
1311
|
+
"sudo eggs tools ppa --remove"
|
|
1280
1312
|
],
|
|
1281
1313
|
"flags": {
|
|
1314
|
+
"add": {
|
|
1315
|
+
"char": "a",
|
|
1316
|
+
"description": "add penguins-eggs PPA repository",
|
|
1317
|
+
"name": "add",
|
|
1318
|
+
"allowNo": false,
|
|
1319
|
+
"type": "boolean"
|
|
1320
|
+
},
|
|
1282
1321
|
"help": {
|
|
1283
1322
|
"char": "h",
|
|
1284
1323
|
"description": "Show CLI help.",
|
|
@@ -1286,8 +1325,23 @@
|
|
|
1286
1325
|
"allowNo": false,
|
|
1287
1326
|
"type": "boolean"
|
|
1288
1327
|
},
|
|
1328
|
+
"nointeractive": {
|
|
1329
|
+
"char": "n",
|
|
1330
|
+
"description": "no user interaction",
|
|
1331
|
+
"name": "nointeractive",
|
|
1332
|
+
"allowNo": false,
|
|
1333
|
+
"type": "boolean"
|
|
1334
|
+
},
|
|
1335
|
+
"remove": {
|
|
1336
|
+
"char": "r",
|
|
1337
|
+
"description": "remove penguins-eggs PPA repository",
|
|
1338
|
+
"name": "remove",
|
|
1339
|
+
"allowNo": false,
|
|
1340
|
+
"type": "boolean"
|
|
1341
|
+
},
|
|
1289
1342
|
"verbose": {
|
|
1290
1343
|
"char": "v",
|
|
1344
|
+
"description": "verbose",
|
|
1291
1345
|
"name": "verbose",
|
|
1292
1346
|
"allowNo": false,
|
|
1293
1347
|
"type": "boolean"
|
|
@@ -1295,7 +1349,7 @@
|
|
|
1295
1349
|
},
|
|
1296
1350
|
"hasDynamicHelp": false,
|
|
1297
1351
|
"hiddenAliases": [],
|
|
1298
|
-
"id": "
|
|
1352
|
+
"id": "tools:ppa",
|
|
1299
1353
|
"pluginAlias": "penguins-eggs",
|
|
1300
1354
|
"pluginName": "penguins-eggs",
|
|
1301
1355
|
"pluginType": "core",
|
|
@@ -1305,34 +1359,19 @@
|
|
|
1305
1359
|
"relativePath": [
|
|
1306
1360
|
"dist",
|
|
1307
1361
|
"commands",
|
|
1308
|
-
"
|
|
1309
|
-
"
|
|
1362
|
+
"tools",
|
|
1363
|
+
"ppa.js"
|
|
1310
1364
|
]
|
|
1311
1365
|
},
|
|
1312
|
-
"
|
|
1366
|
+
"tools:skel": {
|
|
1313
1367
|
"aliases": [],
|
|
1314
|
-
"args": {
|
|
1315
|
-
|
|
1316
|
-
"description": "wardrobe to get",
|
|
1317
|
-
"name": "repo",
|
|
1318
|
-
"required": false
|
|
1319
|
-
}
|
|
1320
|
-
},
|
|
1321
|
-
"description": "list costumes and accessoires in wardrobe",
|
|
1368
|
+
"args": {},
|
|
1369
|
+
"description": "update skel from home configuration",
|
|
1322
1370
|
"examples": [
|
|
1323
|
-
"eggs
|
|
1324
|
-
"eggs
|
|
1325
|
-
"eggs wardrobe list --distro arch"
|
|
1371
|
+
"sudo eggs tools skel",
|
|
1372
|
+
"sudo eggs tools skel --user user-to-be-copied"
|
|
1326
1373
|
],
|
|
1327
1374
|
"flags": {
|
|
1328
|
-
"distro": {
|
|
1329
|
-
"char": "d",
|
|
1330
|
-
"description": "distro",
|
|
1331
|
-
"name": "distro",
|
|
1332
|
-
"hasDynamicHelp": false,
|
|
1333
|
-
"multiple": false,
|
|
1334
|
-
"type": "option"
|
|
1335
|
-
},
|
|
1336
1375
|
"help": {
|
|
1337
1376
|
"char": "h",
|
|
1338
1377
|
"description": "Show CLI help.",
|
|
@@ -1340,6 +1379,14 @@
|
|
|
1340
1379
|
"allowNo": false,
|
|
1341
1380
|
"type": "boolean"
|
|
1342
1381
|
},
|
|
1382
|
+
"user": {
|
|
1383
|
+
"char": "u",
|
|
1384
|
+
"description": "user to be used",
|
|
1385
|
+
"name": "user",
|
|
1386
|
+
"hasDynamicHelp": false,
|
|
1387
|
+
"multiple": false,
|
|
1388
|
+
"type": "option"
|
|
1389
|
+
},
|
|
1343
1390
|
"verbose": {
|
|
1344
1391
|
"char": "v",
|
|
1345
1392
|
"name": "verbose",
|
|
@@ -1349,7 +1396,7 @@
|
|
|
1349
1396
|
},
|
|
1350
1397
|
"hasDynamicHelp": false,
|
|
1351
1398
|
"hiddenAliases": [],
|
|
1352
|
-
"id": "
|
|
1399
|
+
"id": "tools:skel",
|
|
1353
1400
|
"pluginAlias": "penguins-eggs",
|
|
1354
1401
|
"pluginName": "penguins-eggs",
|
|
1355
1402
|
"pluginType": "core",
|
|
@@ -1359,24 +1406,18 @@
|
|
|
1359
1406
|
"relativePath": [
|
|
1360
1407
|
"dist",
|
|
1361
1408
|
"commands",
|
|
1362
|
-
"
|
|
1363
|
-
"
|
|
1409
|
+
"tools",
|
|
1410
|
+
"skel.js"
|
|
1364
1411
|
]
|
|
1365
1412
|
},
|
|
1366
|
-
"
|
|
1413
|
+
"tools:stat": {
|
|
1367
1414
|
"aliases": [],
|
|
1368
|
-
"args": {
|
|
1369
|
-
|
|
1370
|
-
"description": "costume to show",
|
|
1371
|
-
"name": "repo",
|
|
1372
|
-
"required": false
|
|
1373
|
-
}
|
|
1374
|
-
},
|
|
1375
|
-
"description": "show costumes/accessories in wardrobe",
|
|
1415
|
+
"args": {},
|
|
1416
|
+
"description": "get statistics from sourceforge",
|
|
1376
1417
|
"examples": [
|
|
1377
|
-
"eggs
|
|
1378
|
-
"eggs
|
|
1379
|
-
"eggs
|
|
1418
|
+
"eggs tools stat",
|
|
1419
|
+
"eggs tools stat --month",
|
|
1420
|
+
"eggs tools stat --year"
|
|
1380
1421
|
],
|
|
1381
1422
|
"flags": {
|
|
1382
1423
|
"help": {
|
|
@@ -1386,63 +1427,43 @@
|
|
|
1386
1427
|
"allowNo": false,
|
|
1387
1428
|
"type": "boolean"
|
|
1388
1429
|
},
|
|
1389
|
-
"
|
|
1390
|
-
"char": "
|
|
1391
|
-
"description": "
|
|
1392
|
-
"name": "
|
|
1430
|
+
"month": {
|
|
1431
|
+
"char": "m",
|
|
1432
|
+
"description": "current month",
|
|
1433
|
+
"name": "month",
|
|
1393
1434
|
"allowNo": false,
|
|
1394
1435
|
"type": "boolean"
|
|
1395
1436
|
},
|
|
1396
|
-
"
|
|
1397
|
-
"char": "
|
|
1398
|
-
"
|
|
1437
|
+
"year": {
|
|
1438
|
+
"char": "y",
|
|
1439
|
+
"description": "current year",
|
|
1440
|
+
"name": "year",
|
|
1399
1441
|
"allowNo": false,
|
|
1400
1442
|
"type": "boolean"
|
|
1401
|
-
},
|
|
1402
|
-
"wardrobe": {
|
|
1403
|
-
"char": "w",
|
|
1404
|
-
"description": "wardrobe",
|
|
1405
|
-
"name": "wardrobe",
|
|
1406
|
-
"hasDynamicHelp": false,
|
|
1407
|
-
"multiple": false,
|
|
1408
|
-
"type": "option"
|
|
1409
1443
|
}
|
|
1410
1444
|
},
|
|
1411
1445
|
"hasDynamicHelp": false,
|
|
1412
1446
|
"hiddenAliases": [],
|
|
1413
|
-
"id": "
|
|
1447
|
+
"id": "tools:stat",
|
|
1414
1448
|
"pluginAlias": "penguins-eggs",
|
|
1415
1449
|
"pluginName": "penguins-eggs",
|
|
1416
1450
|
"pluginType": "core",
|
|
1417
1451
|
"strict": true,
|
|
1418
1452
|
"enableJsonFlag": false,
|
|
1419
|
-
"example": [
|
|
1420
|
-
"eggs wardrobe show colibri",
|
|
1421
|
-
"eggs wardrobe show accessories/firmwares",
|
|
1422
|
-
"eggs wardrobe show accessories/"
|
|
1423
|
-
],
|
|
1424
1453
|
"isESM": true,
|
|
1425
1454
|
"relativePath": [
|
|
1426
1455
|
"dist",
|
|
1427
1456
|
"commands",
|
|
1428
|
-
"
|
|
1429
|
-
"
|
|
1457
|
+
"tools",
|
|
1458
|
+
"stat.js"
|
|
1430
1459
|
]
|
|
1431
1460
|
},
|
|
1432
|
-
"
|
|
1461
|
+
"tools:yolk": {
|
|
1433
1462
|
"aliases": [],
|
|
1434
|
-
"args": {
|
|
1435
|
-
|
|
1436
|
-
"description": "costume to wear",
|
|
1437
|
-
"name": "repo",
|
|
1438
|
-
"required": false
|
|
1439
|
-
}
|
|
1440
|
-
},
|
|
1441
|
-
"description": "wear costume/accessories from wardrobe",
|
|
1463
|
+
"args": {},
|
|
1464
|
+
"description": "configure eggs to install without internet",
|
|
1442
1465
|
"examples": [
|
|
1443
|
-
"sudo eggs
|
|
1444
|
-
"sudo eggs wardrobe wear accessories/firmwares",
|
|
1445
|
-
"sudo eggs wardrobe wear wagtail/waydroid"
|
|
1466
|
+
"sudo eggs tools yolk"
|
|
1446
1467
|
],
|
|
1447
1468
|
"flags": {
|
|
1448
1469
|
"help": {
|
|
@@ -1452,51 +1473,30 @@
|
|
|
1452
1473
|
"allowNo": false,
|
|
1453
1474
|
"type": "boolean"
|
|
1454
1475
|
},
|
|
1455
|
-
"no_accessories": {
|
|
1456
|
-
"char": "a",
|
|
1457
|
-
"description": "not install accessories",
|
|
1458
|
-
"name": "no_accessories",
|
|
1459
|
-
"allowNo": false,
|
|
1460
|
-
"type": "boolean"
|
|
1461
|
-
},
|
|
1462
|
-
"no_firmwares": {
|
|
1463
|
-
"char": "f",
|
|
1464
|
-
"description": "not install firmwares",
|
|
1465
|
-
"name": "no_firmwares",
|
|
1466
|
-
"allowNo": false,
|
|
1467
|
-
"type": "boolean"
|
|
1468
|
-
},
|
|
1469
1476
|
"verbose": {
|
|
1470
1477
|
"char": "v",
|
|
1471
1478
|
"name": "verbose",
|
|
1472
1479
|
"allowNo": false,
|
|
1473
1480
|
"type": "boolean"
|
|
1474
|
-
},
|
|
1475
|
-
"wardrobe": {
|
|
1476
|
-
"char": "w",
|
|
1477
|
-
"description": "wardrobe",
|
|
1478
|
-
"name": "wardrobe",
|
|
1479
|
-
"hasDynamicHelp": false,
|
|
1480
|
-
"multiple": false,
|
|
1481
|
-
"type": "option"
|
|
1482
1481
|
}
|
|
1483
1482
|
},
|
|
1484
1483
|
"hasDynamicHelp": false,
|
|
1485
1484
|
"hiddenAliases": [],
|
|
1486
|
-
"id": "
|
|
1485
|
+
"id": "tools:yolk",
|
|
1487
1486
|
"pluginAlias": "penguins-eggs",
|
|
1488
1487
|
"pluginName": "penguins-eggs",
|
|
1489
1488
|
"pluginType": "core",
|
|
1490
1489
|
"strict": true,
|
|
1491
1490
|
"enableJsonFlag": false,
|
|
1491
|
+
"dir": "/var/local/yolk",
|
|
1492
1492
|
"isESM": true,
|
|
1493
1493
|
"relativePath": [
|
|
1494
1494
|
"dist",
|
|
1495
1495
|
"commands",
|
|
1496
|
-
"
|
|
1497
|
-
"
|
|
1496
|
+
"tools",
|
|
1497
|
+
"yolk.js"
|
|
1498
1498
|
]
|
|
1499
1499
|
}
|
|
1500
1500
|
},
|
|
1501
|
-
"version": "10.0.
|
|
1501
|
+
"version": "10.0.33"
|
|
1502
1502
|
}
|
package/README.md
CHANGED
|
@@ -491,7 +491,7 @@ EXAMPLES
|
|
|
491
491
|
$ eggs adapt
|
|
492
492
|
```
|
|
493
493
|
|
|
494
|
-
_See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
494
|
+
_See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/adapt.ts)_
|
|
495
495
|
|
|
496
496
|
## `eggs analyze`
|
|
497
497
|
|
|
@@ -512,7 +512,7 @@ EXAMPLES
|
|
|
512
512
|
sudo eggs analyze
|
|
513
513
|
```
|
|
514
514
|
|
|
515
|
-
_See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
515
|
+
_See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/analyze.ts)_
|
|
516
516
|
|
|
517
517
|
## `eggs autocomplete [SHELL]`
|
|
518
518
|
|
|
@@ -576,7 +576,7 @@ EXAMPLES
|
|
|
576
576
|
sudo eggs calamares --remove
|
|
577
577
|
```
|
|
578
578
|
|
|
579
|
-
_See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
579
|
+
_See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/calamares.ts)_
|
|
580
580
|
|
|
581
581
|
## `eggs config`
|
|
582
582
|
|
|
@@ -603,7 +603,7 @@ EXAMPLES
|
|
|
603
603
|
sudo eggs config --clean --nointeractive
|
|
604
604
|
```
|
|
605
605
|
|
|
606
|
-
_See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
606
|
+
_See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/config.ts)_
|
|
607
607
|
|
|
608
608
|
## `eggs cuckoo`
|
|
609
609
|
|
|
@@ -623,7 +623,7 @@ EXAMPLES
|
|
|
623
623
|
sudo eggs cuckoo
|
|
624
624
|
```
|
|
625
625
|
|
|
626
|
-
_See code: [src/commands/cuckoo.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
626
|
+
_See code: [src/commands/cuckoo.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/cuckoo.ts)_
|
|
627
627
|
|
|
628
628
|
## `eggs dad`
|
|
629
629
|
|
|
@@ -651,7 +651,7 @@ EXAMPLES
|
|
|
651
651
|
sudo dad --default
|
|
652
652
|
```
|
|
653
653
|
|
|
654
|
-
_See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
654
|
+
_See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/dad.ts)_
|
|
655
655
|
|
|
656
656
|
## `eggs export deb`
|
|
657
657
|
|
|
@@ -678,7 +678,7 @@ EXAMPLES
|
|
|
678
678
|
$ eggs export deb --all
|
|
679
679
|
```
|
|
680
680
|
|
|
681
|
-
_See code: [src/commands/export/deb.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
681
|
+
_See code: [src/commands/export/deb.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/export/deb.ts)_
|
|
682
682
|
|
|
683
683
|
## `eggs export iso`
|
|
684
684
|
|
|
@@ -703,7 +703,7 @@ EXAMPLES
|
|
|
703
703
|
$ eggs export iso --clean
|
|
704
704
|
```
|
|
705
705
|
|
|
706
|
-
_See code: [src/commands/export/iso.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
706
|
+
_See code: [src/commands/export/iso.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/export/iso.ts)_
|
|
707
707
|
|
|
708
708
|
## `eggs help [COMMAND]`
|
|
709
709
|
|
|
@@ -764,7 +764,7 @@ EXAMPLES
|
|
|
764
764
|
sudo eggs install --chroot
|
|
765
765
|
```
|
|
766
766
|
|
|
767
|
-
_See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
767
|
+
_See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/install.ts)_
|
|
768
768
|
|
|
769
769
|
## `eggs kill`
|
|
770
770
|
|
|
@@ -787,7 +787,7 @@ EXAMPLES
|
|
|
787
787
|
sudo eggs kill
|
|
788
788
|
```
|
|
789
789
|
|
|
790
|
-
_See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
790
|
+
_See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/kill.ts)_
|
|
791
791
|
|
|
792
792
|
## `eggs krill`
|
|
793
793
|
|
|
@@ -847,7 +847,7 @@ EXAMPLES
|
|
|
847
847
|
$ eggs auto
|
|
848
848
|
```
|
|
849
849
|
|
|
850
|
-
_See code: [src/commands/love.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
850
|
+
_See code: [src/commands/love.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/love.ts)_
|
|
851
851
|
|
|
852
852
|
## `eggs mom`
|
|
853
853
|
|
|
@@ -867,7 +867,7 @@ EXAMPLES
|
|
|
867
867
|
$ eggs mom
|
|
868
868
|
```
|
|
869
869
|
|
|
870
|
-
_See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
870
|
+
_See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/mom.ts)_
|
|
871
871
|
|
|
872
872
|
## `eggs produce`
|
|
873
873
|
|
|
@@ -924,7 +924,7 @@ EXAMPLES
|
|
|
924
924
|
sudo eggs produce --excludes home # exclude ~/*
|
|
925
925
|
```
|
|
926
926
|
|
|
927
|
-
_See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
927
|
+
_See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/produce.ts)_
|
|
928
928
|
|
|
929
929
|
## `eggs status`
|
|
930
930
|
|
|
@@ -945,7 +945,7 @@ EXAMPLES
|
|
|
945
945
|
$ eggs status
|
|
946
946
|
```
|
|
947
947
|
|
|
948
|
-
_See code: [src/commands/status.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
948
|
+
_See code: [src/commands/status.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/status.ts)_
|
|
949
949
|
|
|
950
950
|
## `eggs syncfrom`
|
|
951
951
|
|
|
@@ -971,7 +971,7 @@ EXAMPLES
|
|
|
971
971
|
sudo eggs syncfrom --file /path/to/luks-volume
|
|
972
972
|
```
|
|
973
973
|
|
|
974
|
-
_See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
974
|
+
_See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/syncfrom.ts)_
|
|
975
975
|
|
|
976
976
|
## `eggs syncto`
|
|
977
977
|
|
|
@@ -998,7 +998,7 @@ EXAMPLES
|
|
|
998
998
|
sudo eggs syncto --excludes
|
|
999
999
|
```
|
|
1000
1000
|
|
|
1001
|
-
_See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1001
|
+
_See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/syncto.ts)_
|
|
1002
1002
|
|
|
1003
1003
|
## `eggs tools clean`
|
|
1004
1004
|
|
|
@@ -1020,7 +1020,7 @@ EXAMPLES
|
|
|
1020
1020
|
sudo eggs tools clean
|
|
1021
1021
|
```
|
|
1022
1022
|
|
|
1023
|
-
_See code: [src/commands/tools/clean.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1023
|
+
_See code: [src/commands/tools/clean.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/tools/clean.ts)_
|
|
1024
1024
|
|
|
1025
1025
|
## `eggs tools ppa`
|
|
1026
1026
|
|
|
@@ -1046,7 +1046,7 @@ EXAMPLES
|
|
|
1046
1046
|
sudo eggs tools ppa --remove
|
|
1047
1047
|
```
|
|
1048
1048
|
|
|
1049
|
-
_See code: [src/commands/tools/ppa.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1049
|
+
_See code: [src/commands/tools/ppa.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/tools/ppa.ts)_
|
|
1050
1050
|
|
|
1051
1051
|
## `eggs tools skel`
|
|
1052
1052
|
|
|
@@ -1070,7 +1070,7 @@ EXAMPLES
|
|
|
1070
1070
|
sudo eggs tools skel --user user-to-be-copied
|
|
1071
1071
|
```
|
|
1072
1072
|
|
|
1073
|
-
_See code: [src/commands/tools/skel.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1073
|
+
_See code: [src/commands/tools/skel.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/tools/skel.ts)_
|
|
1074
1074
|
|
|
1075
1075
|
## `eggs tools stat`
|
|
1076
1076
|
|
|
@@ -1096,7 +1096,7 @@ EXAMPLES
|
|
|
1096
1096
|
$ eggs tools stat --year
|
|
1097
1097
|
```
|
|
1098
1098
|
|
|
1099
|
-
_See code: [src/commands/tools/stat.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1099
|
+
_See code: [src/commands/tools/stat.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/tools/stat.ts)_
|
|
1100
1100
|
|
|
1101
1101
|
## `eggs tools yolk`
|
|
1102
1102
|
|
|
@@ -1117,7 +1117,7 @@ EXAMPLES
|
|
|
1117
1117
|
sudo eggs tools yolk
|
|
1118
1118
|
```
|
|
1119
1119
|
|
|
1120
|
-
_See code: [src/commands/tools/yolk.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1120
|
+
_See code: [src/commands/tools/yolk.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/tools/yolk.ts)_
|
|
1121
1121
|
|
|
1122
1122
|
## `eggs update`
|
|
1123
1123
|
|
|
@@ -1138,7 +1138,7 @@ EXAMPLES
|
|
|
1138
1138
|
$ eggs update
|
|
1139
1139
|
```
|
|
1140
1140
|
|
|
1141
|
-
_See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1141
|
+
_See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/update.ts)_
|
|
1142
1142
|
|
|
1143
1143
|
## `eggs version`
|
|
1144
1144
|
|
|
@@ -1184,7 +1184,7 @@ EXAMPLES
|
|
|
1184
1184
|
$ eggs wardrobe get your-wardrobe
|
|
1185
1185
|
```
|
|
1186
1186
|
|
|
1187
|
-
_See code: [src/commands/wardrobe/get.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1187
|
+
_See code: [src/commands/wardrobe/get.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/wardrobe/get.ts)_
|
|
1188
1188
|
|
|
1189
1189
|
## `eggs wardrobe list [REPO]`
|
|
1190
1190
|
|
|
@@ -1213,7 +1213,7 @@ EXAMPLES
|
|
|
1213
1213
|
$ eggs wardrobe list --distro arch
|
|
1214
1214
|
```
|
|
1215
1215
|
|
|
1216
|
-
_See code: [src/commands/wardrobe/list.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1216
|
+
_See code: [src/commands/wardrobe/list.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/wardrobe/list.ts)_
|
|
1217
1217
|
|
|
1218
1218
|
## `eggs wardrobe show [REPO]`
|
|
1219
1219
|
|
|
@@ -1243,7 +1243,7 @@ EXAMPLES
|
|
|
1243
1243
|
$ eggs wardrobe show accessories/
|
|
1244
1244
|
```
|
|
1245
1245
|
|
|
1246
|
-
_See code: [src/commands/wardrobe/show.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1246
|
+
_See code: [src/commands/wardrobe/show.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/wardrobe/show.ts)_
|
|
1247
1247
|
|
|
1248
1248
|
## `eggs wardrobe wear [REPO]`
|
|
1249
1249
|
|
|
@@ -1274,7 +1274,7 @@ EXAMPLES
|
|
|
1274
1274
|
sudo eggs wardrobe wear wagtail/waydroid
|
|
1275
1275
|
```
|
|
1276
1276
|
|
|
1277
|
-
_See code: [src/commands/wardrobe/wear.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1277
|
+
_See code: [src/commands/wardrobe/wear.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.33/src/commands/wardrobe/wear.ts)_
|
|
1278
1278
|
<!-- commandsstop -->
|
|
1279
1279
|
|
|
1280
1280
|
# penGUI
|
package/dist/classes/ovary.js
CHANGED
|
@@ -396,13 +396,12 @@ export default class Ovary {
|
|
|
396
396
|
text += `test -f "$DESKTOP"/${installerUrl} && gio set "$DESKTOP"/${installerUrl} metadata::trusted true\n`;
|
|
397
397
|
}
|
|
398
398
|
else if (Pacman.packageIsInstalled('xfce4-session')) {
|
|
399
|
-
|
|
400
|
-
text +=
|
|
401
|
-
// await exec(`f="$DESKTOP"/*.desktop; gio set -t string $f metadata::xfce-exe-checksum "$(sha256sum $f | awk '{print $1}')"`)
|
|
399
|
+
text += `# xfce: enable-desktop-links\n`;
|
|
400
|
+
text += `for f in "$DESKTOP"/*.desktop; do chmod +x "$f"; gio set -t string "$f" metadata::xfce-exe-checksum "$(sha256sum "$f" | awk '{print $1}')"; done\n`;
|
|
402
401
|
}
|
|
403
402
|
else {
|
|
404
|
-
|
|
405
|
-
text += 'chmod +x "$DESKTOP"/*.desktop';
|
|
403
|
+
text += `# others: enable-desktop-links\n`;
|
|
404
|
+
text += 'chmod +x "$DESKTOP"/*.desktop\n';
|
|
406
405
|
}
|
|
407
406
|
fs.writeFileSync(script, text, 'utf8');
|
|
408
407
|
await exec(`chmod a+x ${script}`, this.echo);
|
package/dist/classes/utils.d.ts
CHANGED
|
@@ -34,21 +34,17 @@ export default class Utils {
|
|
|
34
34
|
*/
|
|
35
35
|
static snapshotPrefix(distroId: string, codenameId: string): string;
|
|
36
36
|
/**
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
* ma viene avviato con init
|
|
40
|
-
*/
|
|
37
|
+
* isSystemd
|
|
38
|
+
*/
|
|
41
39
|
static isSystemd(): boolean;
|
|
42
40
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @returns
|
|
41
|
+
* isSysvinit
|
|
45
42
|
*/
|
|
46
|
-
static
|
|
43
|
+
static isSysvinit(): boolean;
|
|
47
44
|
/**
|
|
48
|
-
*
|
|
49
|
-
* @returns
|
|
45
|
+
* isOpenRc
|
|
50
46
|
*/
|
|
51
|
-
static
|
|
47
|
+
static isOpenRc(): boolean;
|
|
52
48
|
/**
|
|
53
49
|
* ricava path per vmlinuz
|
|
54
50
|
* Normalmente cerca BOOT_IMAGE
|
package/dist/classes/utils.js
CHANGED
|
@@ -11,7 +11,7 @@ import dns from 'dns';
|
|
|
11
11
|
import path from 'path';
|
|
12
12
|
import os from 'os';
|
|
13
13
|
import inquirer from 'inquirer';
|
|
14
|
-
import {
|
|
14
|
+
import { spawnSync } from 'child_process';
|
|
15
15
|
import chalk from 'chalk';
|
|
16
16
|
import { Netmask } from 'netmask';
|
|
17
17
|
import Distro from './distro.js';
|
|
@@ -80,38 +80,25 @@ export default class Utils {
|
|
|
80
80
|
return result;
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
* ma viene avviato con init
|
|
86
|
-
*/
|
|
83
|
+
* isSystemd
|
|
84
|
+
*/
|
|
87
85
|
static isSystemd() {
|
|
88
|
-
const
|
|
89
|
-
execSync(`cat /proc/1/comm >${checkFile}`);
|
|
90
|
-
const isSystemd = fs.readFileSync(checkFile).includes('systemd');
|
|
91
|
-
execSync(`rm ${checkFile}`);
|
|
86
|
+
const isSystemd = fs.readFileSync("/proc/1/comm").includes('systemd');
|
|
92
87
|
return isSystemd;
|
|
93
88
|
}
|
|
94
89
|
/**
|
|
95
|
-
*
|
|
96
|
-
* @returns
|
|
90
|
+
* isSysvinit
|
|
97
91
|
*/
|
|
98
|
-
static
|
|
99
|
-
const
|
|
100
|
-
|
|
101
|
-
const isOpenrc = fs.readFileSync(checkFile).includes('openrc');
|
|
102
|
-
execSync(`rm ${checkFile}`);
|
|
103
|
-
return isOpenrc;
|
|
92
|
+
static isSysvinit() {
|
|
93
|
+
const isSysvinit = fs.readFileSync("/proc/1/comm").includes('init');
|
|
94
|
+
return isSysvinit;
|
|
104
95
|
}
|
|
105
96
|
/**
|
|
106
|
-
*
|
|
107
|
-
* @returns
|
|
97
|
+
* isOpenRc
|
|
108
98
|
*/
|
|
109
|
-
static
|
|
110
|
-
const
|
|
111
|
-
|
|
112
|
-
const isSysvinit = fs.readFileSync(checkFile).includes('init');
|
|
113
|
-
execSync(`rm ${checkFile}`);
|
|
114
|
-
return isSysvinit;
|
|
99
|
+
static isOpenRc() {
|
|
100
|
+
const isOpenRc = fs.readFileSync("/proc/1/comm").includes('openrc');
|
|
101
|
+
return isOpenRc;
|
|
115
102
|
}
|
|
116
103
|
/**
|
|
117
104
|
* ricava path per vmlinuz
|
|
Binary file
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
</head>
|
|
8
8
|
<body>
|
|
9
|
-
<h1>eggs(1) -- the reproductive system of penguins: eggs v10.0.
|
|
9
|
+
<h1>eggs(1) -- the reproductive system of penguins: eggs v10.0.33</h1>
|
|
10
10
|
<h1>SYNOPSIS</h1>
|
|
11
11
|
<p>eggs is a console utility, in active development, who let you to remaster your system and redistribuite it as live ISO image.</p>
|
|
12
12
|
<h1>INSTALL</h1>
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
</code></pre>
|
|
16
16
|
<p>Arch</p>
|
|
17
17
|
<pre><code>$ sudo pacman -S penguins-eggs
|
|
18
|
-
$ sudo pacman -U penguins-eggs_10.0.
|
|
18
|
+
$ sudo pacman -U penguins-eggs_10.0.33-1_i386-1-x86_64.pkg.tar.zst
|
|
19
19
|
</code></pre>
|
|
20
20
|
<p>Debian/Devuan/Ubuntu</p>
|
|
21
21
|
<pre><code>$ sudo apt install penguins-eggs
|
|
22
|
-
$ sudo dpkg -i penguins-eggs_10.0.
|
|
22
|
+
$ sudo dpkg -i penguins-eggs_10.0.33-1_i386.deb
|
|
23
23
|
</code></pre>
|
|
24
24
|
<p>Manjaro</p>
|
|
25
25
|
<pre><code>$ sudo pamac install penguins-eggs
|
|
@@ -27,7 +27,7 @@ $ sudo dpkg -i penguins-eggs_10.0.32-bionic-1_amd64.deb
|
|
|
27
27
|
<h1>USAGE</h1>
|
|
28
28
|
<pre><code>$ eggs (-v|--version|version)
|
|
29
29
|
|
|
30
|
-
penguins-eggs/10.0.
|
|
30
|
+
penguins-eggs/10.0.33
|
|
31
31
|
$ eggs --help [COMMAND]
|
|
32
32
|
|
|
33
33
|
USAGE
|
package/package.json
CHANGED