Commit Diff
Diff:
19f06f3b7105cca8cdf8afa8b34b5f0e5a32d88a
d19696aba18dbcec5e4393ac3456afcd75b70a7f
Commit:
d19696aba18dbcec5e4393ac3456afcd75b70a7f
Tree:
9c82bd3ee1ff3a8056760eb07c027a0e9e8eb187
Author:
Fred. Galusik <dev1@galusik.xyz>
Committer:
Fred. Galusik <dev1@galusik.xyz>
Date:
Mon Apr 17 14:01:47 2017 UTC
Message:
updated wth installurl
blob - 71ff4c32b60c4e5e618f0922f7367eb1e84588ce (mode 644)
blob + /dev/null
Binary files snaps-1.0.1.tar.gz and /dev/null differ
blob - 7d3745c7a6f96b9c945abbc3dd7a4eee28bb7d4f
blob + 0b824d8fd6ce5b82d40e60ea2b7697f03c61226a
--- snaps.1
+++ snaps.1
@@ -1,4 +1,4 @@
-.TH "SNAPS" 1 "10/19/2016" "Frédéric Galusik"
+.TH "SNAPS" 1 "04/17/2017" "Frédéric Galusik"
.SH NOM
@@ -26,7 +26,7 @@ or wait for the synchronicity of the two directories.
.TP
\fB\-h\fR
Print help and exit. It also print the content of the
-\fI$MIRROR\fR variable based upon \fI/etc/pkg.conf\fR for a quick look.
+\fI$MIRROR\fR variable based upon \fI/etc/installurl\fR for a quick look.
.TP
\fB\-g\fR
@@ -57,9 +57,10 @@ Upgrade snaps to the last release.
Here are some usage examples:
.TP
-\fBMIRROR=http://another/openbsd/mirror doas snaps \-G\fR
-Bypass your \fI/etc/pkg.conf\fR file and manually setup the \fI$MIRROR\fR
-variable. Note that you just have to indicate the root of the \fI$MIRROR\fR.
+\fBMIRROR=http://another/openbsd/mirror/pub/OpenBSD doas snaps \-G\fR
+Bypass your \fI/etc/installurl\fR file and manually setup the \fI$MIRROR\fR
+variable. Note that you have to indicate the root of the \fI$MIRROR\fR followed
+by \fB/pub/OpenBSD\fR (no \fB/\fR at the end).
This one have to follow the OpenBSD directory layout. Moreover, in order to play
with \fIMIRROR\fR, \fBdoas\fR have to be setup with the \fIkeepenv\fR option.
blob - cfcbec40d31b77eb6f65157c34d465f2764a6e53
blob + 31ab052a24c6e62fc7004bf9873eb63830958272
--- snaps.t2t
+++ snaps.t2t
@@ -31,7 +31,7 @@ or wait for the synchronicity of the two directories.
: **-h**
Print help and exit. It also print the content of the
-//$MIRROR// variable based upon ///etc/pkg.conf// for a quick look.
+//$MIRROR// variable based upon ///etc/installurl// for a quick look.
: **-g**
Fetch and check (SHA256 and signify) bsd.rd from //$MIRROR// (no need
@@ -56,9 +56,10 @@ Upgrade snaps to the last release.
Here are some usage examples:
-: **MIRROR=http://another/openbsd/mirror doas snaps -G**
-Bypass your ///etc/pkg.conf// file and manually setup the //$MIRROR//
-variable. Note that you just have to indicate the root of the //$MIRROR//.
+: **MIRROR=http://another/openbsd/mirror/pub/OpenBSD doas snaps -G**
+Bypass your ///etc/installurl// file and manually setup the //$MIRROR//
+variable. Note that you have to indicate the root of the //$MIRROR// followed
+by **/pub/OpenBSD** (no **/** at the end).
This one have to follow the OpenBSD directory layout. Moreover, in order to play
with //MIRROR//, **doas** have to be setup with the //keepenv// option.
Frédéric Galusik