move existing config to data

This commit is contained in:
j 2016-01-18 12:10:50 +05:30
parent b05618f50a
commit cef4ce23e1

4
ctl
View file

@ -12,8 +12,8 @@ PLATFORM=`uname -m`
DATA="$BASE/data" DATA="$BASE/data"
if [ ! -e "$DATA" ] && [ -e "$BASE/config" ]; then if [ ! -e "$DATA" ] && [ -e "$BASE/config" ]; then
#mv "$BASE/config" "$DATA" mv "$BASE/config" "$DATA"
DATA="$BASE/config" #DATA="$BASE/config"
else else
if [ ! -e "$BASE/data/release.json" ] && [ -e "$BASE/config/release.json" ]; then if [ ! -e "$BASE/data/release.json" ] && [ -e "$BASE/config/release.json" ]; then
mv "$BASE/config/release.json" "$BASE/data/release.json" mv "$BASE/config/release.json" "$BASE/data/release.json"