Commit Diff
Diff:
43a799e61f1b46660f3e10218197a335bd9b1bf4
57eba479bdaabd89afc7d142f4a10bf024f3b44d
Commit:
57eba479bdaabd89afc7d142f4a10bf024f3b44d
Tree:
7a853529fce53c6df15fdfadf89d56f72f453cdc
Author:
Fred. Galusik <f@galusik.xyz>
Committer:
Fred. Galusik <f@galusik.xyz>
Date:
Sun Sep 20 08:36:35 2015 UTC
Message:
take care of new pkg.conf
blob - 692f6fdbab5983ba1fc9a58835ad48e033832dfc
blob + c6214ac98f0f875c2777588ca86f1ce33f20ccef
--- snaps
+++ snaps
@@ -40,12 +40,13 @@
### VARS
###
-VERSION=0.1
+VERSION=0.2
MIRRORSOURCE=/etc/pkg.conf
+ARCH=$(uname -m)
if [ ! $MIRROR ]; then
- MIRROR=$(sed -e 's/installpath = //' -e 's/packages\///' $MIRRORSOURCE)
+ MIRROR=$(sed -e 's@installpath = @@' -e "s@\%c\/packages\/\%a@snapshots\/${ARCH}@" $MIRRORSOURCE)
fi
RL=58 # signify var
Frédéric Galusik