From 6189d933ab2e32b1afc034781c5119072a323391 Mon Sep 17 00:00:00 2001 From: Rafi594 Date: Wed, 29 Jul 2020 22:33:42 +0200 Subject: [PATCH] Small fixes --- check_process | 29 ++++++++++++++++++++++++++++- manifest.json | 2 +- scripts/upgrade | 4 ++++ 3 files changed, 33 insertions(+), 2 deletions(-) diff --git a/check_process b/check_process index b05c831..6621596 100644 --- a/check_process +++ b/check_process @@ -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 diff --git a/manifest.json b/manifest.json index 77c696a..dc6db00 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.3.0~ynh", + "version": "5.3.0~ynh1", "url": "http://www.minetest.net/", "license": "MIT", "maintainer": { diff --git a/scripts/upgrade b/scripts/upgrade index c154385..1f159b7 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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