Commit Diff
Diff:
e95ef821f51ab79fee69c99b07f69d23d91e63e1
ba6929df918a8732896b52e5093662c420c91896
Commit:
ba6929df918a8732896b52e5093662c420c91896
Tree:
da8b97073b340e66c026bcc9164f24119ea8c49f
Author:
Fred. Galusik <dev1@galusik.xyz>
Committer:
Fred. Galusik <dev1@galusik.xyz>
Date:
Wed Oct 19 19:01:46 2016 UTC
Message:
version bump and extra MIRROR info when check for date
blob - 40fb67565ccb6a516fc62f2e0c87fef5063f431a
blob + 255585e1083958185ed18aaeae7713d7d72d90f0
--- snaps
+++ snaps
@@ -4,7 +4,7 @@
#
# snaps.sh - Upgrade your OpenBSD OS base to last -current snapshot
#
-# Copyright (c) 2015, Fred Galusik <f AT galusik.xyz>
+# Copyright (c) 2016, Fred Galusik <f AT galusik.xyz>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -40,7 +40,7 @@
### VARS
###
-VERSION=0.8.2
+VERSION=1.0
RL=60 # signify var
MIRRORSOURCE=$(awk -F '=' '/^installpath/ { gsub(/ /,"",$2); print $2 }' /etc/pkg.conf)
@@ -234,6 +234,7 @@ s_when() {
CURLB="$($CURL -sI ${MIRRORB}${SHAF} | grep Last-Modified)"
CURLP="$($CURL -sI ${MIRRORPKG}${SHAF} | grep Last-Modified)"
echo "\n=== BASE AND PACKAGES BUILD DATE ==="
+ echo "From ${MIRROR}"
echo "Base ($ARCH) => $CURLB"
echo "Packages ($ARCH) => $CURLP"
echo ""
Frédéric Galusik