Move existing templates instead of redownloading (#8)

Closes #8
This commit is contained in:
Tomer Keren 2020-04-04 15:16:27 +03:00
parent 3ba8e158e1
commit 612927e2fe

View file

@ -1,14 +1,8 @@
#!/bin/sh #!/bin/sh
set -e set -e
# Install export templates # Move godot templates already installed from the docker image to home
wget https://downloads.tuxfamily.org/godotengine/3.2.1/Godot_v3.2.1-stable_export_templates.tpz --quiet mv /root/.local ~
mkdir ~/.cache
mkdir -p ~/.config/godot
mkdir -p ~/.local/share/godot/templates/3.2.1.stable
unzip Godot_v3.2.1-stable_export_templates.tpz
mv templates/* ~/.local/share/godot/templates/3.2.1.stable
rm -f Godot_v3.2.1-stable_export_templates.tpz
if [ "$3" != "" ] if [ "$3" != "" ]
then then