Skip to content

Commit 3fd6127

Browse files
committed
install: Add support for offline installations.
* `phreaknet offline` can be used on an Internet-connected system to prepare the needed files for an offline installation. * `phreaknet install --offline` can be used to obtain all needed sources from the offline directory created by `phreaknet offline`. * The `--noupdate` flag can be used to not update the package manager. PHREAKSCRIPT-39 #close
1 parent 66b69e7 commit 3fd6127

File tree

3 files changed

+236
-120
lines changed

3 files changed

+236
-120
lines changed

phreaknet.1

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ Install cached PhreakScript man page (may be outdated)
6060
Install or upgrade Asterisk.
6161
This is the primary command provided by PhreakScript.
6262
.TP
63+
\f[B]offline\f[R]
64+
Prepare offline installation source for disconnected environments
65+
.TP
66+
\f[B]noupdate\f[R]
67+
Do not update the package manager
68+
.TP
6369
\f[B]source\f[R]
6470
Download the source code for Asterisk into the current working directory.
6571
.TP
@@ -328,6 +334,9 @@ Do not install extra features or enhancements.
328334
Bug fixes are always installed.
329335
(May be required for older versions)
330336
.TP
337+
\f[B]--offline\f[R]
338+
Use an offline installation source for disconnected environments
339+
.TP
331340
\f[B]-v\f[R], \f[B]--version\f[R]
332341
Specific version of Asterisk to install (M.m.b e.g.
333342
18.8.0).

phreaknet.1.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ the best Asterisk and DAHDI experience.
6060
**source**
6161
: Download and patch source code only, without building or installing. This operates on the current working directory.
6262

63+
**offline**
64+
: Prepare offline installation source for disconnected environments
65+
66+
**noupdate**
67+
: Do not update the package manager
68+
6369
**experimental**
6470
: Add experimental features to an existing Asterisk source
6571

@@ -346,6 +352,9 @@ directories if necessary.
346352
**--vanilla**
347353
: Do not install extra features or enhancements. Bug fixes are always installed. (May be required for older versions)
348354

355+
**--offline**
356+
: Use an offline installation source for disconnected environments
357+
349358
**-v**, **--version**
350359
: Specific version of Asterisk to install (M.m.b e.g. 18.8.0). Also, see **--vanilla**.
351360

0 commit comments

Comments
 (0)