1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/backdrop_ynh.git synced 2024-09-03 20:36:14 +02:00

Merge pull request #22 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2021-08-18 23:25:45 +02:00 committed by GitHub
commit 443e991266
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 13 deletions

View file

@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Easy-to-use CMS for building professional websites Easy-to-use CMS for building professional websites
**Shipped version:** 1.19.2~ynh1 **Shipped version:** 1.19.3~ynh1
**Demo:** https://backdropcms.org/demo **Demo:** https://backdropcms.org/demo

View file

@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
CMS facile à utiliser pour créer des sites Web professionnels CMS facile à utiliser pour créer des sites Web professionnels
**Version incluse :** 1.19.2~ynh1 **Version incluse :** 1.19.3~ynh1
**Démo :** https://backdropcms.org/demo **Démo :** https://backdropcms.org/demo

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/backdrop/backdrop/releases/download/1.19.2/backdrop.zip SOURCE_URL=https://github.com/backdrop/backdrop/releases/download/1.19.3/backdrop.zip
SOURCE_SUM=ce218a82e4d311174e9b5fcf3b84ef200e251507b45709db6a29ff2457c6a064 SOURCE_SUM=bc48494a699ba1a54018165ad46bdd48faa815e87df4ce052a43e8eb1ab23262
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -6,7 +6,7 @@
"en": "Easy-to-use CMS for building professional websites", "en": "Easy-to-use CMS for building professional websites",
"fr": "CMS facile à utiliser pour créer des sites Web professionnels" "fr": "CMS facile à utiliser pour créer des sites Web professionnels"
}, },
"version": "1.19.2~ynh1", "version": "1.19.3~ynh1",
"url": "https://backdropcms.org/", "url": "https://backdropcms.org/",
"upstream": { "upstream": {
"license": "GPL-2.0", "license": "GPL-2.0",

View file

@ -101,15 +101,12 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#================================================= #=================================================
ynh_script_progression --message="Configuring $app..." --weight=1 ynh_script_progression --message="Configuring $app..." --weight=1
cp ../conf/settings.example.php "$final_path/settings.php" salt="$(ynh_string_random --length=30)"
dir="__DIR__"
ynh_add_config --template="../conf/settings.example.php" --destination="$final_path/settings.php"
# Change variables in ttrss configuration chmod 400 "$final_path/settings.php"
ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="$final_path/settings.php" chown $app:$app "$final_path/settings.php"
ynh_replace_string --match_string="__DB_PWD__" --replace_string="$db_pwd" --target_file="$final_path/settings.php"
ynh_replace_string --match_string="__SALT__" --replace_string="$(ynh_string_random --length=30)" --target_file="$final_path/settings.php"
# Recalculate and store the config file checksum into the app settings
ynh_store_file_checksum --file="$final_path/settings.php"
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT