mirror of
https://github.com/YunoHost-Apps/minetest_ynh.git
synced 2024-09-03 20:36:00 +02:00
Small fixes
This commit is contained in:
parent
949c41d82c
commit
6189d933ab
3 changed files with 33 additions and 2 deletions
|
@ -3,11 +3,12 @@
|
|||
|
||||
# Move this file from check_process.default to check_process when you have filled it.
|
||||
|
||||
;; Test complet
|
||||
;; Test complet minetest_game
|
||||
; Manifest
|
||||
domain="domain.tld" (DOMAIN)
|
||||
pvp=1
|
||||
servername="packagecheck"
|
||||
game="minetest_game"
|
||||
creative=0
|
||||
damage=1
|
||||
is_public=0 (PUBLIC|public=1|private=0)
|
||||
|
@ -27,6 +28,32 @@
|
|||
port_already_use=1
|
||||
change_url=0
|
||||
|
||||
;; Test complet capturetheflag
|
||||
; Manifest
|
||||
domain="domain.tld" (DOMAIN)
|
||||
pvp=1
|
||||
servername="packagecheck"
|
||||
game="capturetheflag"
|
||||
creative=0
|
||||
damage=1
|
||||
is_public=0 (PUBLIC|public=1|private=0)
|
||||
password="pass"
|
||||
port="30000" (PORT)
|
||||
; Checks
|
||||
pkg_linter=1
|
||||
setup_sub_dir=0
|
||||
setup_root=0
|
||||
setup_nourl=1
|
||||
setup_private=0
|
||||
setup_public=0
|
||||
upgrade=1
|
||||
backup_restore=1
|
||||
multi_instance=1
|
||||
incorrect_path=0
|
||||
port_already_use=1
|
||||
change_url=0
|
||||
|
||||
|
||||
;;; Levels
|
||||
# If the level 5 (Package linter) is forced to 1. Please add justifications here.
|
||||
Level 5=auto
|
||||
|
|
|
@ -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.3.0~ynh",
|
||||
"version": "5.3.0~ynh1",
|
||||
"url": "http://www.minetest.net/",
|
||||
"license": "MIT",
|
||||
"maintainer": {
|
||||
|
|
|
@ -128,6 +128,10 @@ pushd /opt/yunohost/$app
|
|||
# Install the game
|
||||
if [ $game = "capturetheflag" ]; then
|
||||
# Download Capture The Flag
|
||||
|
||||
# To avoid mess remove this first
|
||||
ynh_secure_remove games/capturetheflag/
|
||||
# Then clone the latest version from git
|
||||
git clone --recursive https://github.com/MT-CTF/capturetheflag.git games/capturetheflag
|
||||
else
|
||||
# Download Minetest Game
|
||||
|
|
Loading…
Add table
Reference in a new issue