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:
parent
1a1d1887e0
commit
8b71728e9a
2 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue