move existing config to data
This commit is contained in:
parent
b05618f50a
commit
cef4ce23e1
1 changed files with 2 additions and 2 deletions
4
ctl
4
ctl
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue