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:
parent
c90a2e5d0f
commit
076178c19e
1 changed files with 3 additions and 1 deletions
|
@ -87,7 +87,9 @@ ynh_replace_string "__DOMAIN__" "$domain" ../conf/minetest.conf
|
||||||
ynh_replace_string "__PVP__" "$pvp" ../conf/minetest.conf
|
ynh_replace_string "__PVP__" "$pvp" ../conf/minetest.conf
|
||||||
ynh_replace_string "__CREATIVE__" "$creative" ../conf/minetest.conf
|
ynh_replace_string "__CREATIVE__" "$creative" ../conf/minetest.conf
|
||||||
ynh_replace_string "__DAMAGE__" "$damage" ../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
|
ynh_store_checksum_config "/etc/minetest/minetest.conf" # Enregistre la somme de contrôle du fichier de config
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue