From 5fe9410a0a251eb2387ac3e98fc1c488fd2327aa Mon Sep 17 00:00:00 2001 From: anmol Date: Sat, 17 Oct 2020 15:20:38 +0530 Subject: [PATCH] Fixed message to admin user --- scripts/install | 6 +++--- scripts/restore | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index 0ea2813..45051e6 100755 --- a/scripts/install +++ b/scripts/install @@ -173,7 +173,7 @@ yunohost app ssowatconf # SEND A README FOR THE ADMIN #================================================= -message="You can find a config file at /etc/$squid/squid.conf +echo "You can find a config file at /etc/$squid/squid.conf Squid 3 will work with your registered users through LDAP. Just put the username and password when asked. To configure on Firefox go to preferences->general->network proxy->manual proxy configuration. @@ -190,9 +190,9 @@ Enter these value in the below feilds. |-------------------------------------------------------------------- |Save and restart borwser. --------------------------------------------------------------------- -If you are facing any issues or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/squid3_ynh/issues" +If you are facing any issues or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/squid3_ynh/issues" > mail_to_send -ynh_send_readme_to_admin "$message" +ynh_send_readme_to_admin --app_message="mail_to_send" --type="install" #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index 5a146dd..da3a5e1 100755 --- a/scripts/restore +++ b/scripts/restore @@ -84,7 +84,7 @@ yunohost service add squid3 --log "/var/log/$squid/access.log" # SEND A README FOR THE ADMIN #================================================= -message="You can find a config file at /etc/$squid/squid.conf +echo "You can find a config file at /etc/$squid/squid.conf Squid 3 will work with your registered users through LDAP. Just put the username and password when asked. To configure on Firefox go to preferences->general->network proxy->manual proxy configuration. @@ -101,6 +101,6 @@ Enter these value in the below feilds. |-------------------------------------------------------------------- |Save and restart borwser. --------------------------------------------------------------------- -If you are facing any issues or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/squid3_ynh/issues" +If you are facing any issues or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/squid3_ynh/issues" > mail_to_send -ynh_send_readme_to_admin --app_message="$message" --recipients="root" +ynh_send_readme_to_admin --app_message="mail_to_send" --type="install"