1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minetest_ynh.git synced 2024-09-03 20:36:00 +02:00

Fix minetest conf copy

This commit is contained in:
Luc Didry 2017-06-11 10:52:08 +02:00 committed by GitHub
parent c90a2e5d0f
commit 076178c19e

View file

@ -87,7 +87,9 @@ ynh_replace_string "__DOMAIN__" "$domain" ../conf/minetest.conf
ynh_replace_string "__PVP__" "$pvp" ../conf/minetest.conf
ynh_replace_string "__CREATIVE__" "$creative" ../conf/minetest.conf
ynh_replace_string "__DAMAGE__" "$damage" ../conf/minetest.conf
sudo cat ../conf/minetest.conf | sudo tee /etc/minetest/minetest.conf >/dev/null
sudo cp ../conf/minetest.conf /etc/minetest/minetest.conf
sudo chown root:root /etc/minetest/minetest.conf
sudo chmod 644 /etc/minetest/minetest.conf
ynh_store_checksum_config "/etc/minetest/minetest.conf" # Enregistre la somme de contrôle du fichier de config