poikilos
9 years ago
committed by
Jacob Gustafson
3 changed files with 59 additions and 11 deletions
@ -0,0 +1,18 @@ |
|||||
|
#!/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/ |
||||
|
|
Loading…
Reference in new issue