mirror of
https://github.com/YunoHost-Apps/backdrop_ynh.git
synced 2024-09-03 20:36:14 +02:00
commit
d96a59ef86
8 changed files with 13 additions and 33 deletions
|
@ -1,7 +1,7 @@
|
|||
# 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)
|
||||
[![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)*
|
||||
|
||||
|
@ -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.17.4
|
||||
**Shipped version:** 1.18.0
|
||||
|
||||
## Screenshots
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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)
|
||||
[![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)*
|
||||
|
||||
|
@ -12,7 +12,7 @@ Si vous n’avez 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.17.4
|
||||
**Version incluse :** 1.18.0
|
||||
|
||||
## Captures d’écran
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/backdrop/backdrop/releases/download/1.17.4/backdrop.zip
|
||||
SOURCE_SUM=9e3c9280ad60622638ef603dde56fdc02dab43ae367ff30f8324a45fb555186d
|
||||
SOURCE_URL=https://github.com/backdrop/backdrop/releases/download/1.18.0/backdrop.zip
|
||||
SOURCE_SUM=86c9d282ad67c42f68ecef2175d4b9b02b4bf68045f7e27ec6f95844af11b286
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=zip
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -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.17.4~ynh2",
|
||||
"version": "1.18.0~ynh1",
|
||||
"url": "https://backdropcms.org/",
|
||||
"license": "GPL-2.0",
|
||||
"maintainer": {
|
||||
|
@ -19,7 +19,7 @@
|
|||
"multi_instance": true,
|
||||
"services": [
|
||||
"nginx",
|
||||
"php7.0-fpm",
|
||||
"php7.3-fpm",
|
||||
"mysql"
|
||||
],
|
||||
"arguments": {
|
||||
|
|
|
@ -77,26 +77,6 @@ then
|
|||
ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf"
|
||||
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
|
||||
#=================================================
|
||||
|
|
|
@ -114,8 +114,8 @@ ynh_store_file_checksum --file="$final_path/settings.php"
|
|||
#=================================================
|
||||
|
||||
# Set permissions to app files
|
||||
chown -R $app:www-data $final_path
|
||||
#chown -R $app:www-data $final_path/files
|
||||
chown -R root: $final_path
|
||||
chown -R $app:www-data $final_path/files
|
||||
chmod -R 770 $final_path/files
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -18,7 +18,7 @@ ynh_abort_if_errors
|
|||
#=================================================
|
||||
# LOAD SETTINGS
|
||||
#=================================================
|
||||
ynh_script_progression --message="Loading settings..." --weight=1
|
||||
ynh_script_progression --message="Loading settings..." --weight=1
|
||||
|
||||
app=$YNH_APP_INSTANCE_NAME
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ source /usr/share/yunohost/helpers
|
|||
#=================================================
|
||||
# LOAD SETTINGS
|
||||
#=================================================
|
||||
ynh_script_progression --message="Loading installation settings..." --weight=1
|
||||
ynh_script_progression --message="Loading installation settings..." --weight=1
|
||||
|
||||
app=$YNH_APP_INSTANCE_NAME
|
||||
|
||||
|
@ -33,7 +33,7 @@ upgrade_type=$(ynh_check_app_version_changed)
|
|||
#=================================================
|
||||
# ENSURE DOWNWARD COMPATIBILITY
|
||||
#=================================================
|
||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=2
|
||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=2
|
||||
|
||||
# If final_path doesn't exist, create it
|
||||
if [ -z "$final_path" ]; then
|
||||
|
|
Loading…
Reference in a new issue