Commit Diff
Diff:
57eba479bdaabd89afc7d142f4a10bf024f3b44d
8f27a5628537c14eb3a0305a44d0dde13d6a9fb4
Commit:
8f27a5628537c14eb3a0305a44d0dde13d6a9fb4
Tree:
aa6f443c1023f874abfbd6254dd8d740b4b45cce
Author:
Fred. Galusik <dev1@galusik.xyz>
Committer:
Fred. Galusik <dev1@galusik.xyz>
Date:
Sat Apr 23 15:57:36 2016 UTC
Message:
update to last current
blob - c6214ac98f0f875c2777588ca86f1ce33f20ccef
blob + 772cc0999feb998cc856c8a2fa099889f9dab28e
--- snaps
+++ snaps
@@ -40,7 +40,7 @@
### VARS
###
-VERSION=0.2
+VERSION=0.4
MIRRORSOURCE=/etc/pkg.conf
ARCH=$(uname -m)
@@ -49,7 +49,7 @@ if [ ! $MIRROR ]; then
MIRROR=$(sed -e 's@installpath = @@' -e "s@\%c\/packages\/\%a@snapshots\/${ARCH}@" $MIRRORSOURCE)
fi
-RL=58 # signify var
+RL=59 # signify var
BSDRD=bsd.rd
SHAF=SHA256
@@ -108,9 +108,10 @@ get_rd() {
s_check() {
echo "\n=== FILE INTEGRITY CHECKING ==="
+ echo "Sign key: $SIGNPUB"
OK=OK
# signify
- if [[ $(signify -C -p $SIGNPUB -x $SIGF $BSDRD | grep OK | awk '{print $2}') = $OK ]]; then
+ if [[ $(signify -C -p $SIGNPUB -x $SIGF $BSDRD 2>&1 | grep OK | awk '{print $2}') = $OK ]]; then
echo "==> GOOD: $SHAF file is coming from OpenBSD"
else
echo "==> WARNING: $SHAF is not coming from OpenBSD, aborting!!"
Frédéric Galusik