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 #39 from YunoHost-Apps/upgrade

Upgrade
This commit is contained in:
yalh76 2022-07-20 10:09:09 +02:00 committed by GitHub
commit 419dbe8569
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 11 deletions

View file

@ -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. 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 ## Screenshots

View file

@ -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. 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 ## Captures d'écran

View file

@ -6,7 +6,7 @@
"en": "Free, open source voxel game engine and game. Need a client to connect to the server.", "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." "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/", "url": "http://www.minetest.net/",
"upstream": { "upstream": {
"license": "MIT", "license": "MIT",
@ -15,14 +15,8 @@
}, },
"license": "MIT", "license": "MIT",
"maintainer": { "maintainer": {
"name": "rafi59", "name": "",
"email": "rafi59_dev@srvmaison.fr.nf", "email": ""
"url": ""
},
"previous_maintainers": {
"name": "Luc Didry",
"email": "luc@framasoft.org",
"url": "https://framasoft.org"
}, },
"requirements": { "requirements": {
"yunohost": ">= 4.3.0" "yunohost": ">= 4.3.0"

View file

@ -89,6 +89,12 @@ if [ -z $datadir ]; then
ynh_app_setting_delete --app=$app --key=home_path ynh_app_setting_delete --app=$app --key=home_path
fi 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 # Cleaning legacy permissions
if ynh_legacy_permissions_exists; then if ynh_legacy_permissions_exists; then
ynh_legacy_permissions_delete_all ynh_legacy_permissions_delete_all