1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lstu_ynh.git synced 2024-09-03 19:36:12 +02:00

Merge pull request #32 from YunoHost-Apps/testing

Fix package linter
This commit is contained in:
Kayou 2019-03-02 00:33:13 +01:00 committed by GitHub
commit ccdf102442
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 3 deletions

7
.travis.yml Normal file
View file

@ -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 ./

View file

@ -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"