You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
500 B
19 lines
500 B
9 years ago
|
#!/bin/sh
|
||
|
|
||
|
DEST_WWW_PATH=/var/www/html
|
||
|
if [ -f /var/www/html/minetest/chunkymap.php ]; then
|
||
|
DEST_WWW_PATH=/var/www/html/minetest
|
||
|
fi
|
||
|
|
||
|
if [ -f viewchunkymap.php ]; then
|
||
|
rm viewchunkymap.php
|
||
|
fi
|
||
|
wget https://github.com/expertmm/minetest-chunkymap/raw/master/web/viewchunkymap.php
|
||
|
sudo mv -f viewchunkymap.php $DEST_WWW_PATH/
|
||
|
if [ -f chunkymap.php ]; then
|
||
|
rm chunkymap.php
|
||
|
fi
|
||
|
wget https://github.com/expertmm/minetest-chunkymap/raw/master/web/chunkymap.php
|
||
|
sudo mv -f chunkymap.php $DEST_WWW_PATH/
|
||
|
|