1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/backdrop_ynh.git synced 2024-09-03 20:36:14 +02:00
This commit is contained in:
ericgaspar 2021-04-22 00:08:13 +02:00
parent 62114640c9
commit 81336c79f1
No known key found for this signature in database
GPG key ID: 574F281483054D44
5 changed files with 7 additions and 13 deletions

View file

@ -12,7 +12,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to
Backdrop CMS is a simple, lightweight, and easy-to-use Content Management System for building professional websites.
**Shipped version:** 1.18.2
**Shipped version:** 1.18.3
## Screenshots

View file

@ -12,7 +12,7 @@ Si vous navez pas YunoHost, consultez [le guide](https://yunohost.org/#/insta
Backdrop CMS is a simple, lightweight, and easy-to-use Content Management System for building professional websites.
**Version incluse :** 1.18.2
**Version incluse :** 1.18.3
## Captures décran

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/backdrop/backdrop/releases/download/1.18.2/backdrop.zip
SOURCE_SUM=dc067c1608d5135882762112217f39a84534d9d24c5191d1ade6012d55082fde
SOURCE_URL=https://github.com/backdrop/backdrop/releases/download/1.18.3/backdrop.zip
SOURCE_SUM=fb82cb6020db15954ed23976c513d3d0f713aa1c77759be065106e4f57b2999b
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true

View file

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

View file

@ -96,15 +96,9 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#=================================================
ynh_script_progression --message="Configuring Backdrop..." --weight=1
cp ../conf/settings.example.php "$final_path/settings.php"
salt="$(ynh_string_random --length=30)"
# Change variables in ttrss configuration
ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="$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"
ynh_add_config --template="../conf/settings.example.php" --destination="$final_path/settings.php"
#=================================================
# SECURE FILES AND DIRECTORIES