mapserver colors update (fixes https://github.com/pandorabox-io/pandorabox.io/issues/295)
parent
7b67371ee7
commit
8bbc51b97a
|
@ -4,3 +4,4 @@ tiles
|
|||
grafana
|
||||
prometheus
|
||||
postgres*
|
||||
Colors.txt
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd $(dirname $0)
|
||||
cd ../data/Colors.txt
|
||||
|
||||
git remote update
|
||||
git diff --exit-code HEAD origin/master && exit 0
|
||||
|
||||
git pull
|
||||
cp colors.txt ../minetest/world/
|
||||
|
||||
docker-compose restart mapserver
|
|
@ -1,13 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd $(dirname $0)
|
||||
cd data/minetest/world/worldmods
|
||||
cd ../data/minetest/world/worldmods
|
||||
|
||||
git remote update
|
||||
git diff --exit-code HEAD origin/master && exit 0
|
||||
|
||||
git pull
|
||||
|
||||
# new mods
|
||||
git submodule init
|
||||
|
||||
# changed repo urls
|
||||
git submodule sync
|
||||
|
||||
# updated commits
|
||||
git submodule update
|
||||
|
Loading…
Reference in New Issue