Compare commits

..

No commits in common. "81fc928a36d33129b530a8769200483a603aecca" and "49d9d4842be5849beea202f8d3cdbc4cccf36057" have entirely different histories.

1 changed files with 7 additions and 6 deletions

13
abra.sh
View File

@ -3,9 +3,10 @@ export SEXTANT_CONF_VERSION=v1
set -x
zones(){
DATA_PATH="$HOME/.local/share/eotl/core"
USER_HOME="/home/sextant"
DATA_PATH="$USER_HOME/.local/share/eotl/core"
ZONES_URL="https://codeberg.org/eotl/core"
ZONES_PATH="$HOME/.local/share/eotl/core/data/json/zones"
ZONES_PATH="$USER_HOME/.local/share/eotl/core/data/json/zones"
if [ ! -d "$DATA_PATH/.git" ]; then
mkdir -p $DATA_PATH
@ -17,8 +18,8 @@ zones(){
git pull --depth=1 origin main
fi
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-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.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-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
}