diff --git a/scripts/install b/scripts/install index 8647078..5cf82f5 100644 --- a/scripts/install +++ b/scripts/install @@ -59,13 +59,6 @@ ynh_add_config --template="../conf/lutim.conf.template" --destination="$install_ chmod 400 "$install_dir/lutim.conf" chown $app:$app "$install_dir/lutim.conf" -#================================================= -# SETUP HOOKS FILE -#================================================= - -ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="../hooks/post_app_addaccess" -ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="../hooks/post_app_removeaccess" - #================================================= # SETUP CRON #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 531606f..e114660 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -124,13 +124,6 @@ then fi fi -#================================================= -# SETUP HOOKS FILE -#================================================= - -ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="../hooks/post_app_addaccess" -ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="../hooks/post_app_removeaccess" - #================================================= # SETUP CRON #=================================================