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

Merge pull request #3 from Rafi594/patch-1

Update command for copying minetest configuration file
This commit is contained in:
Luc Didry 2017-06-10 17:03:40 +02:00 committed by GitHub
commit c90a2e5d0f

View file

@ -87,7 +87,7 @@ 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 > /etc/minetest/minetest.conf
sudo cat ../conf/minetest.conf | sudo tee /etc/minetest/minetest.conf >/dev/null
ynh_store_checksum_config "/etc/minetest/minetest.conf" # Enregistre la somme de contrôle du fichier de config