1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #2263 from tim-moody/upd_minetest

Update RPi minetest to 5.1.1 for compatibility with latest raspbian
This commit is contained in:
A Holt 2020-03-08 12:08:36 -04:00 committed by GitHub
commit 5b2528d1da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View file

@ -8,7 +8,7 @@
- name: Download Minetest {{ minetest_rpi_src_url }} for RPi
get_url:
url: "{{ minetest_rpi_src_url }}"
dest: "{{ downloads_dir }}/{{ minetest_rpi_src }}"
dest: "{{ downloads_dir }}/{{ minetest_rpi_src_tar }}"
timeout: "{{ download_timeout }}"
# we need to create these for rpi, but package creates them for other OSes
@ -23,17 +23,17 @@
- /etc/minetest
- /var/log/minetest
- name: Extract {{ downloads_dir }}/{{ minetest_rpi_src }} into /library/games
- name: Extract {{ downloads_dir }}/{{ minetest_rpi_src_tar }} into /library/games
unarchive:
src: "{{ downloads_dir }}/{{ minetest_rpi_src }}"
src: "{{ downloads_dir }}/{{ minetest_rpi_src_tar }}"
dest: /library/games
owner: root
group: root
- name: Symlink /library/games/minetest -> /library/games/0.4.17.1
- name: Create symlink /library/games/minetest => /library/games/{{ minetest_rpi_src_untarred }}
file:
state: link
src: /library/games/0.4.17.1
src: /library/games/{{ minetest_rpi_src_untarred }}
dest: /library/games/minetest
owner: root
group: root

View file

@ -39,5 +39,6 @@ calibre_via_python: False
minetest_server_bin: /library/games/minetest/bin/minetestserver
minetest_working_dir: /library/games/minetest
minetest_game_dir: /library/games/minetest/games/minetest_game
minetest_rpi_src_url: http://www.nathansalapat.com/downloads/0.4.17.1.tar.gz
minetest_rpi_src: minetest-0.4.17.1.tar.gz
minetest_rpi_src_tar: minetest.5.1.1.tar.gz
minetest_rpi_src_url: "http://www.nathansalapat.com/downloads/{{ minetest_rpi_src_tar }}"
minetest_rpi_src_untarred: Minetest