1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/aeneria_ynh.git synced 2024-09-03 18:06:15 +02:00
This commit is contained in:
ericgaspar 2021-09-09 11:36:07 +02:00
parent 1eb6cd39d6
commit 5d44c40fd2
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 6 additions and 12 deletions

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
app=__APP__ app=APPNAMETOCHANGE
# Source YunoHost helpers # Source YunoHost helpers
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
app=__APP__ app=APPNAMETOCHANGE
# Source YunoHost helpers # Source YunoHost helpers
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers

View file

@ -159,11 +159,8 @@ chmod 644 "/etc/cron.d/$app"
#================================================= #=================================================
ynh_script_progression --message="Adapting hooks..." --weight=1 ynh_script_progression --message="Adapting hooks..." --weight=1
#ynh_replace_string --match_string="APPNAMETOCHANGE" --replace_string="$app" --target_file="../hooks/post_user_create" ynh_replace_string --match_string="APPNAMETOCHANGE" --replace_string="$app" --target_file="../hooks/post_user_create"
#ynh_replace_string --match_string="APPNAMETOCHANGE" --replace_string="$app" --target_file="../hooks/post_user_delete" ynh_replace_string --match_string="APPNAMETOCHANGE" --replace_string="$app" --target_file="../hooks/post_user_delete"
ynh_add_config --template="../hooks/post_user_create" --destination="../hooks/post_user_create"
ynh_add_config --template="../hooks/post_user_create" --destination="../hooks/post_user_create"
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT

View file

@ -192,11 +192,8 @@ chmod 644 "/etc/cron.d/$app"
#================================================= #=================================================
ynh_script_progression --message="Adapting hooks..." --weight=1 ynh_script_progression --message="Adapting hooks..." --weight=1
#ynh_replace_string --match_string="APPNAMETOCHANGE" --replace_string=$app --target_file="../hooks/post_user_create" ynh_replace_string --match_string="APPNAMETOCHANGE" --replace_string=$app --target_file="../hooks/post_user_create"
#ynh_replace_string --match_string="APPNAMETOCHANGE" --replace_string=$app --target_file="../hooks/post_user_delete" ynh_replace_string --match_string="APPNAMETOCHANGE" --replace_string=$app --target_file="../hooks/post_user_delete"
ynh_add_config --template="../hooks/post_user_create" --destination="../hooks/post_user_create"
ynh_add_config --template="../hooks/post_user_create" --destination="../hooks/post_user_create"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX