From d654688b9c1804437e4d2c1f4eb934448c28b987 Mon Sep 17 00:00:00 2001 From: Selamanse Date: Tue, 18 Jul 2017 13:21:17 +0200 Subject: [PATCH] Fixes manifest and remove script --- manifest.json | 9 +++++---- scripts/remove | 4 +++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index f8fe797..3bf6a18 100644 --- a/manifest.json +++ b/manifest.json @@ -1,19 +1,20 @@ { - "package_format": 1, + "packaging_format": 1, "name": "RocketChat", "id": "rocketchat", "description": { "en": "the ultimate chat platform" }, + "url": "https://github.com/selamanse/rocketchat_ynh", + "license": "free", "maintainer": { "name": "selamanse", "email": "selamanse@scheinfrei.info", "url": "https://github.com/selamanse" }, - "multi_instance": "false", + "multi_instance": false, "services": [ - "nginx", - "mongodb" + "nginx" ], "requirements": { "yunohost": ">> 2.5.6" diff --git a/scripts/remove b/scripts/remove index 3597f2d..ea47305 100644 --- a/scripts/remove +++ b/scripts/remove @@ -1,4 +1,5 @@ #!/bin/bash +set -u #================================================= # GENERIC START @@ -9,7 +10,8 @@ source _common.sh source /usr/share/yunohost/helpers -domain=$(sudo yunohost app setting rocketchat domain) +app=$YNH_APP_INSTANCE_NAME +domain=$(ynh_app_setting_get $app domain) sudo rm -rf /var/www/rocketchat