diff --git a/scripts/install b/scripts/install index c35358a..ec74ab8 100755 --- a/scripts/install +++ b/scripts/install @@ -200,13 +200,6 @@ find $final_path/templates/minimaxing/minimaxing.css -type f -print0 | xargs -0 # chmod : -rwxr-xr-x 1 root root 241 May 3 08:36 index.html => BAD # find : -rw-r--r-- 1 1001 1002 241 May 3 08:36 index.html => GOOD -#================================================= -# ADVERTISE SERVICE IN ADMIN PANEL -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 - -yunohost service add $app --description "Lightweight wiki-style CMS" --log "/var/log/$app/$app.log" - #================================================= # SETUP SSOWAT #================================================= diff --git a/scripts/remove b/scripts/remove index 9a4a388..0fb22ef 100755 --- a/scripts/remove +++ b/scripts/remove @@ -22,17 +22,6 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= # STANDARD REMOVE -#================================================= -# REMOVE SERVICE INTEGRATION IN YUNOHOST -#================================================= - -# Remove the service from the list of services known by Yunohost (added from `yunohost service add`) -if ynh_exec_warn_less yunohost service status $app >/dev/null -then - ynh_script_progression --message="Removing $app service integration..." --weight=1 - yunohost service remove $app -fi - #================================================= # REMOVE APP MAIN DIR #================================================= diff --git a/scripts/restore b/scripts/restore index 8be1abb..7640926 100755 --- a/scripts/restore +++ b/scripts/restore @@ -90,13 +90,6 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=4 # Define and install dependencies ynh_install_app_dependencies $pkg_dependencies -#================================================= -# INTEGRATE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 - -yunohost service add $app --description "Lightweight wiki-style CMS" --log "/var/log/$app/$app.log" - #================================================= # GENERIC FINALIZATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index fe23048..73b3273 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -128,13 +128,6 @@ ynh_store_file_checksum --file="$final_path/menu.php" # Set permissions on app files chown -R root: $final_path -#================================================= -# ADVERTISE SERVICE IN ADMIN PANEL -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 - -yunohost service add $app --description "Lightweight wiki-style CMS" --log "/var/log/$app/$app.log" - #================================================= # RELOAD NGINX #=================================================