mirror of
https://github.com/YunoHost-Apps/aeneria_ynh.git
synced 2024-09-03 18:06:15 +02:00
Bump to aeneria 1.1.3 and fix #6
This commit is contained in:
parent
45f0c70e9d
commit
b46a4c806b
4 changed files with 9 additions and 6 deletions
|
@ -12,7 +12,7 @@ The idea of [æneria](https://aeneria.com) is to display energy consumption and
|
||||||
* Better understand our own energy consumption
|
* Better understand our own energy consumption
|
||||||
* Analyse energy consumption throw weather data
|
* Analyse energy consumption throw weather data
|
||||||
|
|
||||||
**Shipped version:** 1.1.2
|
**Shipped version:** 1.1.3
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://statics.aeneria.com/aeneria-app-1.1.2.tar.gz
|
SOURCE_URL=https://statics.aeneria.com/aeneria-app-1.1.3.tar.gz
|
||||||
SOURCE_SUM=d9ea2a79e434297dd5a7d60774a29b64c56ea70de3bc655c5a5e654bd11e13a5
|
SOURCE_SUM=50194f003c1fcbf605875464a25f27ed1a439ce09fd0404ce400ae96e8e76d9f
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "A little dashboard to analyse your energy consumption data from Linky & weather",
|
"en": "A little dashboard to analyse your energy consumption data from Linky & weather",
|
||||||
"fr": "Un petit tableau de bord pour analyser votre consomation d'énergie à partir des données d'un Linky et de la météo"
|
"fr": "Un petit tableau de bord pour analyser votre consomation d'énergie à partir des données d'un Linky et de la météo"
|
||||||
},
|
},
|
||||||
"version": "1.1.2~ynh1",
|
"version": "1.1.3~ynh1",
|
||||||
"url": "https://gitlab.com/aeneria/aeneria-app",
|
"url": "https://gitlab.com/aeneria/aeneria-app",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -85,7 +85,7 @@ then
|
||||||
ynh_script_progression --message="Upgrading source files..."
|
ynh_script_progression --message="Upgrading source files..."
|
||||||
|
|
||||||
# For aeneria source update, we use a temporary directory because
|
# For aeneria source update, we use a temporary directory because
|
||||||
# without it, patche can't be apply correctly:
|
# without it, patches can't be apply correctly:
|
||||||
# In 'app-00-ldap-auth.patch' we create a new file, if we try
|
# In 'app-00-ldap-auth.patch' we create a new file, if we try
|
||||||
# to apply the patch a second time while the file already exists, it
|
# to apply the patch a second time while the file already exists, it
|
||||||
# throws a warning leading to an upgrade fail.
|
# throws a warning leading to an upgrade fail.
|
||||||
|
@ -180,7 +180,10 @@ pushd $final_path
|
||||||
|
|
||||||
# Set admin user
|
# Set admin user
|
||||||
mail=$(ynh_user_get_info --username=$admin --key='mail')
|
mail=$(ynh_user_get_info --username=$admin --key='mail')
|
||||||
ynh_exec_as $app php$phpversion bin/console aeneria:user:grant "$mail"
|
ynh_exec_as $app php$phpversion bin/console aeneria:user:grant "$mail" -n
|
||||||
|
|
||||||
|
# Regenerate RSA keys
|
||||||
|
ynh_exec_as $app php$phpversion bin/console aeneria:generate-key --force -n
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue