diff --git a/docker-compose.yml b/docker-compose.yml index e49b91b..ced5b00 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,6 @@ services: restart: always network_mode: host volumes: - - ${PWD}/sample.env:/usr/local/share/minetest/.env - ${PWD}/data/games:/usr/local/share/minetest/games - ${PWD}/data/worlds:/usr/local/share/minetest/worlds diff --git a/install.sh b/install.sh index bc55eb5..f9fd382 100755 --- a/install.sh +++ b/install.sh @@ -7,7 +7,7 @@ download_and_install_game() { download_url=$(curl -X GET --silent "$API_URL/packages/${1}/" | jq ".url" | tr -d '"') cd games || exit wget -O game.zip "${download_url}" - unzip -foq game.zip + unzip -oq game.zip rm game.zip cd ../ # data } @@ -57,7 +57,7 @@ download_and_install_mod () { mod_file="${mods_path}/mod.zip" echo "Writing to ${mod_file} content from url ${mod_url}" wget -O "${mod_file}" "${mod_url}" - unzip -foq "${mod_file}" -d "${mods_path}" + unzip -oq "${mod_file}" -d "${mods_path}" rm "${mod_file}" }