From 8b71728e9ac70e3479a8d46f55085be2bcb62b37 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Wed, 1 Apr 2020 16:13:32 +0200 Subject: [PATCH] create the admin permission --- scripts/install | 2 ++ scripts/remove | 1 + 2 files changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index c5d25a9..f7dafd1 100755 --- a/scripts/install +++ b/scripts/install @@ -197,6 +197,8 @@ fi #================================================= ynh_print_info --message="Configuring SSOwat..." +ynh_permission_create --permission="admin" + # Make app public if necessary if [ $is_public -eq 1 ] then diff --git a/scripts/remove b/scripts/remove index 005222b..5211c21 100755 --- a/scripts/remove +++ b/scripts/remove @@ -63,6 +63,7 @@ ynh_remove_nodejs # Only remove the mongodb service if it is not installed. if ! ynh_package_is_installed --package="mongodb" +then yunohost service remove mongodb fi