Compare commits
2 Commits
49d9d4842b
...
81fc928a36
Author | SHA1 | Date |
---|---|---|
decentral1se | 81fc928a36 | |
decentral1se | 0660191616 |
13
abra.sh
13
abra.sh
|
@ -3,10 +3,9 @@ export SEXTANT_CONF_VERSION=v1
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
zones(){
|
zones(){
|
||||||
USER_HOME="/home/sextant"
|
DATA_PATH="$HOME/.local/share/eotl/core"
|
||||||
DATA_PATH="$USER_HOME/.local/share/eotl/core"
|
|
||||||
ZONES_URL="https://codeberg.org/eotl/core"
|
ZONES_URL="https://codeberg.org/eotl/core"
|
||||||
ZONES_PATH="$USER_HOME/.local/share/eotl/core/data/json/zones"
|
ZONES_PATH="$HOME/.local/share/eotl/core/data/json/zones"
|
||||||
|
|
||||||
if [ ! -d "$DATA_PATH/.git" ]; then
|
if [ ! -d "$DATA_PATH/.git" ]; then
|
||||||
mkdir -p $DATA_PATH
|
mkdir -p $DATA_PATH
|
||||||
|
@ -18,8 +17,8 @@ zones(){
|
||||||
git pull --depth=1 origin main
|
git pull --depth=1 origin main
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sextant zone create -f "${ZONES_PATH}/berlin.geojson" -n GEN >/dev/null 2>&1 && \
|
sextant zone create -f "${ZONES_PATH}/berlin.geojson" -n GEN >/dev/null 2>&1
|
||||||
sextant zone create -f "${ZONES_PATH}/berlin-districts.geojson" -p 1 >/dev/null 2>&1 && \
|
sextant zone create -f "${ZONES_PATH}/berlin-districts.geojson" -p 1 >/dev/null 2>&1
|
||||||
sextant zone create -f "${ZONES_PATH}/berlin-district-kreuzberg.geojson" -p 9 >/dev/null 2>&1 && \
|
sextant zone create -f "${ZONES_PATH}/berlin-district-kreuzberg.geojson" -p 9 >/dev/null 2>&1
|
||||||
sextant zone create -f "${ZONES_PATH}/berlin-district-neukoelln.geojson" -p 3 >/dev/null 2>&1
|
sextant zone create -f "${ZONES_PATH}/berlin-district-neukoelln.geojson" -p 3 >/dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue