mirror of
https://github.com/glest/glest-source.git
synced 2025-08-29 02:40:17 +02:00
17 lines
319 B
Bash
Executable File
17 lines
319 B
Bash
Executable File
#!/bin/bash
|
|
echo "Downloading game data..."
|
|
currentDir=$PWD
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
|
|
|
cd $DIR
|
|
mkdir build
|
|
cd build
|
|
git clone https://github.com/Glest/glest-data.git data
|
|
cd ..
|
|
|
|
if [ `id -u`'x' == '0x' ] || [ "$1" == "--manually" ]; then
|
|
chmod -R 777 build/
|
|
fi
|
|
|
|
cd $currentDir
|