summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-09-29 19:18:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-09-29 19:18:35 -0300
commita4a8405aceb8c4a508afaa6d9911630fd1ef4998 (patch)
tree74e22cdeec2f71f88a363e326e79db61023f7211
parent0651f62d718e18665eec0280fe05b670f7728a7a (diff)
downloadkeyringer-a4a8405aceb8c4a508afaa6d9911630fd1ef4998.tar.gz
keyringer-a4a8405aceb8c4a508afaa6d9911630fd1ef4998.tar.bz2
Setup config/version on 'keyringer init'
-rwxr-xr-xkeyringer4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyringer b/keyringer
index b7cca46..5875723 100755
--- a/keyringer
+++ b/keyringer
@@ -23,6 +23,7 @@ function keyringer_init {
URL="$4"
RECIPIENTS="$BASEDIR/config/recipients"
OPTIONS="$BASEDIR/config/options"
+ VERSION_INFO="$BASEDIR/config/version"
# We are initializing, so avoid some checks
export KEYRINGER_CHECK_VERSION="false"
@@ -69,6 +70,9 @@ function keyringer_init {
# Setup README
echo "Keyring repository powered by http://git.sarava.org/?p=keyringer.git;a=summary" > "$BASEDIR/README"
echo "" >> "$BASEDIR/README"
+
+ # Set config version
+ echo $CONFIG_VERSION > $VERSION_INFO
fi
# Secure