diff --git a/README.md b/README.md index c767d38..bc41e47 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Minetest is a free open-source voxel game engine with easy modding and game creation. -**Shipped version:** 5.5.1~ynh1 +**Shipped version:** 5.5.1~ynh2 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 8b8a383..ca1aac0 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Minetest est un moteur de jeu voxel open-source avec modding et création de jeux faciles. -**Version incluse :** 5.5.1~ynh1 +**Version incluse :** 5.5.1~ynh2 ## Captures d'écran diff --git a/manifest.json b/manifest.json index 59bcb87..77673fc 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Free, open source voxel game engine and game. Need a client to connect to the server.", "fr": "Moteur de jeu de type « bac à sable » gratuit et open source. Nécessite un client pour se connecter au serveur." }, - "version": "5.5.1~ynh1", + "version": "5.5.1~ynh2", "url": "http://www.minetest.net/", "upstream": { "license": "MIT", @@ -15,15 +15,9 @@ }, "license": "MIT", "maintainer": { - "name": "rafi59", - "email": "rafi59_dev@srvmaison.fr.nf", - "url": "" + "name": "", + "email": "" }, - "previous_maintainers": { - "name": "Luc Didry", - "email": "luc@framasoft.org", - "url": "https://framasoft.org" -}, "requirements": { "yunohost": ">= 4.3.0" }, diff --git a/scripts/upgrade b/scripts/upgrade index 718d1f6..76046f7 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -89,6 +89,12 @@ if [ -z $datadir ]; then ynh_app_setting_delete --app=$app --key=home_path fi +# If game doesn't exist, create it +if [ -z $game ]; then + game="minetest_game" + ynh_app_setting_set --app=$app --key=game --value=$game +fi + # Cleaning legacy permissions if ynh_legacy_permissions_exists; then ynh_legacy_permissions_delete_all