1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wekan_ynh.git synced 2024-09-03 20:36:09 +02:00

create the admin permission

This commit is contained in:
Kay0u 2020-04-01 16:13:32 +02:00
parent 1a1d1887e0
commit 8b71728e9a
No known key found for this signature in database
GPG key ID: AE1DCADB6415A156
2 changed files with 3 additions and 0 deletions

View file

@ -197,6 +197,8 @@ fi
#================================================= #=================================================
ynh_print_info --message="Configuring SSOwat..." ynh_print_info --message="Configuring SSOwat..."
ynh_permission_create --permission="admin"
# Make app public if necessary # Make app public if necessary
if [ $is_public -eq 1 ] if [ $is_public -eq 1 ]
then then

View file

@ -63,6 +63,7 @@ ynh_remove_nodejs
# Only remove the mongodb service if it is not installed. # Only remove the mongodb service if it is not installed.
if ! ynh_package_is_installed --package="mongodb" if ! ynh_package_is_installed --package="mongodb"
then
yunohost service remove mongodb yunohost service remove mongodb
fi fi