1
0
src/lsd/dist/doc/try.1
2022-01-29 03:10:32 -05:00

56 lines
1.3 KiB
Groff

.TH TRINITX 1
.SH NAME
try \- distribution management
.SH SYNOPSIS
.B try
.RB { install , sync_musl , unrepo }
.SH DESCRIPTION
.I try
exists to conduct system tasks normally conducted by operating systems
themselves and for which there's no easy alternative (though the system is not
tightly coupled with these utilities and they can easily be replaced).
.SH FUNCTIONS
.SS INSTALL
Installs the software distribution base into an environment variable specified
prefix. If
.I install
is not called in the form
.IP
\fCPREFIX=/ try install\fP
.LP
it will print a diagnostic message and exit; PREFIX must not be empty.
.SS SYNC_MUSL
Fetches musl from the upstream source and installs it into the PREFIX. PREFIX
may not be specified but behavior will be unspecified (probably function as if
PREFIX is '/') if it's not.
.SS UNREPO
Deletes git repository files from PREFIX if they exist; this is a
post-installation task and need only be performed once. PREFIX may not be
specified; if it isn't, it'll function as if PREFIX is '/'.
.SH CONFIGURATION
.I try
may be configured via
.B config.sh
in the same directory.
.SH LOCATIONS
.I try
distribution-specific files are always located in $PREFIX/dist.
For example, the
.I try
script is always at $PREFIX/dist/try, and configuration is always at
$PREFIX/dist/config.sh.
.SH COPYRIGHT
Public domain.
.SH SEE ALSO
.RB trilsd (7)