mirror of
https://github.com/YunoHost-Apps/grocy_ynh.git
synced 2024-09-03 19:25:54 +02:00
Testing (#32)
This commit is contained in:
parent
1ce6d72095
commit
4d1cd7ea8f
6 changed files with 13 additions and 13 deletions
|
@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
|
|
||||||
grocy is a web-based self-hosted groceries & household management solution for your home.
|
grocy is a web-based self-hosted groceries & household management solution for your home.
|
||||||
|
|
||||||
**Shipped version:** 3.1.3~ynh3
|
**Shipped version:** 3.1.3~ynh4
|
||||||
|
|
||||||
**Demo:** https://en.demo.grocy.info/stockoverview
|
**Demo:** https://en.demo.grocy.info/stockoverview
|
||||||
|
|
||||||
|
@ -31,8 +31,8 @@ grocy is a web-based self-hosted groceries & household management solution for y
|
||||||
|
|
||||||
Default login
|
Default login
|
||||||
```
|
```
|
||||||
user: **admin**
|
user: admin
|
||||||
password: **admin**
|
password: admin
|
||||||
```
|
```
|
||||||
|
|
||||||
## Limitations
|
## Limitations
|
||||||
|
|
|
@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
||||||
|
|
||||||
grocy is a web-based self-hosted groceries & household management solution for your home.
|
grocy is a web-based self-hosted groceries & household management solution for your home.
|
||||||
|
|
||||||
**Version incluse :** 3.1.3~ynh3
|
**Version incluse :** 3.1.3~ynh4
|
||||||
|
|
||||||
**Démo :** https://en.demo.grocy.info/stockoverview
|
**Démo :** https://en.demo.grocy.info/stockoverview
|
||||||
|
|
||||||
|
@ -27,8 +27,8 @@ grocy is a web-based self-hosted groceries & household management solution for y
|
||||||
|
|
||||||
Connexion par défaut
|
Connexion par défaut
|
||||||
```
|
```
|
||||||
utilisateur : **admin**
|
utilisateur : admin
|
||||||
mot de passe : **admin**
|
mot de passe : admin
|
||||||
```
|
```
|
||||||
|
|
||||||
## Limitations
|
## Limitations
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
Default login
|
Default login
|
||||||
```
|
```
|
||||||
user: **admin**
|
user: admin
|
||||||
password: **admin**
|
password: admin
|
||||||
```
|
```
|
||||||
|
|
||||||
## Limitations
|
## Limitations
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
Connexion par défaut
|
Connexion par défaut
|
||||||
```
|
```
|
||||||
utilisateur : **admin**
|
utilisateur : admin
|
||||||
mot de passe : **admin**
|
mot de passe : admin
|
||||||
```
|
```
|
||||||
|
|
||||||
## Limitations
|
## Limitations
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Web-based groceries & household management solution for your home",
|
"en": "Web-based groceries & household management solution for your home",
|
||||||
"fr": "Solution Web de gestion d'épicerie et de gestion de la maison"
|
"fr": "Solution Web de gestion d'épicerie et de gestion de la maison"
|
||||||
},
|
},
|
||||||
"version": "3.1.3~ynh3",
|
"version": "3.1.3~ynh4",
|
||||||
"url": "https://grocy.info",
|
"url": "https://grocy.info",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -57,7 +57,7 @@ set__fpm_footprint() {
|
||||||
}
|
}
|
||||||
|
|
||||||
set__free_footprint() {
|
set__free_footprint() {
|
||||||
if [ "$fpm_footprint" = "specific" ]
|
if [ "$fpm_footprint" == "specific" ]
|
||||||
then
|
then
|
||||||
ynh_app_setting_set --app=$app --key=fpm_footprint --value="$free_footprint"
|
ynh_app_setting_set --app=$app --key=fpm_footprint --value="$free_footprint"
|
||||||
fi
|
fi
|
||||||
|
@ -72,7 +72,7 @@ ynh_app_config_validate() {
|
||||||
|
|
||||||
if [ "${changed[fpm_usage]}" == "true" ] || [ "${changed[fpm_footprint]}" == "true" ] || [ "${changed[free_footprint]}" == "true" ]; then
|
if [ "${changed[fpm_usage]}" == "true" ] || [ "${changed[fpm_footprint]}" == "true" ] || [ "${changed[free_footprint]}" == "true" ]; then
|
||||||
# If fpm_footprint is set to 'specific', use $free_footprint value.
|
# If fpm_footprint is set to 'specific', use $free_footprint value.
|
||||||
if [ "$fpm_footprint" = "specific" ]
|
if [ "$fpm_footprint" == "specific" ]
|
||||||
then
|
then
|
||||||
fpm_footprint=$free_footprint
|
fpm_footprint=$free_footprint
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue