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

Merge pull request #11 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2022-02-09 12:54:32 +01:00 committed by GitHub
commit 0a22cbabe5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 11 deletions

View file

@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Web database management tool Web database management tool
**Shipped version:** 0.41.2~ynh1 **Shipped version:** 0.42.0~ynh1

View file

@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Outil web de gestion des bases de données Outil web de gestion des bases de données
**Version incluse :** 0.41.2~ynh1 **Version incluse :** 0.42.0~ynh1

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://downloads.metabase.com/v0.41.2/metabase.jar SOURCE_URL=https://downloads.metabase.com/v0.42.0/metabase.jar
SOURCE_SUM=d2303557342f3d88437d634fd38bd4b3657b7a31e5ad891e45b001801c121bf5 SOURCE_SUM=392c91a63256df82edab6c211a94eae3c39ae0ca7f042b3f4fd7fd16deee34e1
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=jar SOURCE_FORMAT=jar
SOURCE_IN_SUBDIR=false SOURCE_IN_SUBDIR=false

View file

@ -6,7 +6,7 @@
"en": "Web database management tool", "en": "Web database management tool",
"fr": "Outil web de gestion des bases de données" "fr": "Outil web de gestion des bases de données"
}, },
"version": "0.41.2~ynh1", "version": "0.42.0~ynh1",
"url": "https://www.metabase.com/", "url": "https://www.metabase.com/",
"upstream": { "upstream": {
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",

View file

@ -94,7 +94,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=1 ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" ynh_setup_source --dest_dir="$final_path" --keep="/etc/default/$app"
fi fi
chmod 750 "$final_path" chmod 750 "$final_path"
@ -127,13 +127,13 @@ ynh_add_systemd_config
#================================================= #=================================================
# SETUP CONFIG # SETUP CONFIG
#================================================= #=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1 # ynh_script_progression --message="Adding a configuration file..." --weight=1
touch /etc/default/$app # touch /etc/default/$app
ynh_add_config --template="../conf/metabase" --destination="/etc/default/$app" # ynh_add_config --template="../conf/metabase" --destination="/etc/default/$app"
chmod 640 "/etc/default/$app" # chmod 640 "/etc/default/$app"
chown $app "/etc/default/$app" # chown $app "/etc/default/$app"
#================================================= #=================================================
# HANDLE LOG FILES AND LOGROTATE # HANDLE LOG FILES AND LOGROTATE