diff --git a/scripts/install b/scripts/install index b070b22..105e1b4 100755 --- a/scripts/install +++ b/scripts/install @@ -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