mirror of
https://github.com/YunoHost-Apps/lstu_ynh.git
synced 2024-09-03 19:36:12 +02:00
commit
ccdf102442
2 changed files with 10 additions and 3 deletions
7
.travis.yml
Normal file
7
.travis.yml
Normal 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 ./
|
|
@ -71,9 +71,9 @@ if [ -z "$hashed_password" ]; then
|
||||||
password=$(ynh_string_random 8)
|
password=$(ynh_string_random 8)
|
||||||
hashed_password=$(echo -n $password | sha256sum | cut -d' ' -f1)
|
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.
|
echo "The new version of LSTU provide an admin and a stats area which required a password." > mail_to_send
|
||||||
|
echo "" >> mail_to_send
|
||||||
This password is: $password" > mail_to_send
|
echo "This password is: $password" >> mail_to_send
|
||||||
|
|
||||||
ynh_send_readme_to_admin --app_message="mail_to_send" --type="upgrade"
|
ynh_send_readme_to_admin --app_message="mail_to_send" --type="upgrade"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue