diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-09-29 19:18:35 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-09-29 19:18:35 -0300 |
commit | a4a8405aceb8c4a508afaa6d9911630fd1ef4998 (patch) | |
tree | 74e22cdeec2f71f88a363e326e79db61023f7211 | |
parent | 0651f62d718e18665eec0280fe05b670f7728a7a (diff) | |
download | keyringer-a4a8405aceb8c4a508afaa6d9911630fd1ef4998.tar.gz keyringer-a4a8405aceb8c4a508afaa6d9911630fd1ef4998.tar.bz2 |
Setup config/version on 'keyringer init'
-rwxr-xr-x | keyringer | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |