mirror of
https://github.com/YunoHost-Apps/minetest_ynh.git
synced 2024-09-03 20:36:00 +02:00
fix missing game
This commit is contained in:
parent
09946f6d86
commit
d50b9cebf9
2 changed files with 7 additions and 1 deletions
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue