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 #6 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2021-01-17 23:35:02 +01:00 committed by GitHub
commit d96a59ef86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 13 additions and 33 deletions

View file

@ -1,7 +1,7 @@
# Backdrop for YunoHost # Backdrop for YunoHost
[![Integration level](https://dash.yunohost.org/integration/backdrop.svg)](https://dash.yunohost.org/appci/app/backdrop) ![](https://ci-apps.yunohost.org/ci/badges/backdrop.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/backdrop.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/backdrop.svg)](https://dash.yunohost.org/appci/app/backdrop) ![](https://ci-apps.yunohost.org/ci/badges/backdrop.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/backdrop.maintain.svg)
[![Install Tiny Tiny RSS with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=backdrop) [![Install Tiny Tiny RSS with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=backdrop)
*[Lire ce readme en français.](./README_fr.md)* *[Lire ce readme en français.](./README_fr.md)*
@ -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. Backdrop CMS is a simple, lightweight, and easy-to-use Content Management System for building professional websites.
**Shipped version:** 1.17.4 **Shipped version:** 1.18.0
## Screenshots ## Screenshots

View file

@ -1,7 +1,7 @@
# Backdrop pour YunoHost # Backdrop pour YunoHost
[![Integration level](https://dash.yunohost.org/integration/backdrop.svg)](https://dash.yunohost.org/appci/app/backdrop) ![](https://ci-apps.yunohost.org/ci/badges/backdrop.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/backdrop.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/backdrop.svg)](https://dash.yunohost.org/appci/app/backdrop) ![](https://ci-apps.yunohost.org/ci/badges/backdrop.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/backdrop.maintain.svg)
[![Installer Backdrop avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=backdrop) [![Installer Backdrop avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=backdrop)
*[Read this readme in english.](./README.md)* *[Read this readme in english.](./README.md)*
@ -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. Backdrop CMS is a simple, lightweight, and easy-to-use Content Management System for building professional websites.
**Version incluse :** 1.17.4 **Version incluse :** 1.18.0
## Captures décran ## Captures décran

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/backdrop/backdrop/releases/download/1.17.4/backdrop.zip SOURCE_URL=https://github.com/backdrop/backdrop/releases/download/1.18.0/backdrop.zip
SOURCE_SUM=9e3c9280ad60622638ef603dde56fdc02dab43ae367ff30f8324a45fb555186d SOURCE_SUM=86c9d282ad67c42f68ecef2175d4b9b02b4bf68045f7e27ec6f95844af11b286
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.17.4~ynh2", "version": "1.18.0~ynh1",
"url": "https://backdropcms.org/", "url": "https://backdropcms.org/",
"license": "GPL-2.0", "license": "GPL-2.0",
"maintainer": { "maintainer": {
@ -19,7 +19,7 @@
"multi_instance": true, "multi_instance": true,
"services": [ "services": [
"nginx", "nginx",
"php7.0-fpm", "php7.3-fpm",
"mysql" "mysql"
], ],
"arguments": { "arguments": {

View file

@ -77,26 +77,6 @@ then
ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf" ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf"
fi fi
#=================================================
# SPECIFIC MODIFICATIONS
#=================================================
# ynh_script_progression --message="Configuring $app..." --weight=1
# domain="$new_domain"
# path_url="$new_path"
# ynh_backup_if_checksum_is_different --file="$final_path/settings.php"
# cp ../conf/settings.example.php "$final_path/settings.php"
# # Change domain name in config.php
# ynh_replace_string --match_string="__DBNAME__" --replace_string="$db_name" --target_file="$final_path/settings.php"
# ynh_replace_string --match_string="__DBPWD__" --replace_string="$db_pwd" --target_file="$final_path/settings.php"
# #ynh_replace_string --match_string="__DOMAINPATH__" --replace_string="https://$domain$path_url" --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"
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION
#================================================= #=================================================

View file

@ -114,8 +114,8 @@ ynh_store_file_checksum --file="$final_path/settings.php"
#================================================= #=================================================
# Set permissions to app files # Set permissions to app files
chown -R $app:www-data $final_path chown -R root: $final_path
#chown -R $app:www-data $final_path/files chown -R $app:www-data $final_path/files
chmod -R 770 $final_path/files chmod -R 770 $final_path/files
#================================================= #=================================================