diff --git a/README.md b/README.md index 7897237..07b0ce1 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/README_fr.md b/README_fr.md index 0877a9d..2909c4b 100644 --- a/README_fr.md +++ b/README_fr.md @@ -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 diff --git a/conf/app.src b/conf/app.src index 090a8eb..bb272f4 100644 --- a/conf/app.src +++ b/conf/app.src @@ -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 diff --git a/manifest.json b/manifest.json index f514311..b067173 100644 --- a/manifest.json +++ b/manifest.json @@ -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": { diff --git a/scripts/change_url b/scripts/change_url index 1ac1ecb..16fc4d1 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -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 #================================================= diff --git a/scripts/install b/scripts/install index 0536376..73f26d8 100644 --- a/scripts/install +++ b/scripts/install @@ -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 #================================================= diff --git a/scripts/restore b/scripts/restore index d3d45ef..66e2a29 100644 --- a/scripts/restore +++ b/scripts/restore @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index 83cdf32..9694d55 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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