diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..94722ed --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: python + +before_install: + - git clone https://github.com/YunoHost/package_linter /tmp/package_linter + +script: +- /tmp/package_linter/package_linter.py ./ diff --git a/scripts/upgrade b/scripts/upgrade index 0f1246d..9ac91ee 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -71,9 +71,9 @@ if [ -z "$hashed_password" ]; then password=$(ynh_string_random 8) hashed_password=$(echo -n $password | sha256sum | cut -d' ' -f1) - echo "The new version of LSTU provide an admin and a stats area which required a password. - -This password is: $password" > mail_to_send + echo "The new version of LSTU provide an admin and a stats area which required a password." > mail_to_send + echo "" >> mail_to_send + echo "This password is: $password" >> mail_to_send ynh_send_readme_to_admin --app_message="mail_to_send" --type="upgrade"