1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paheko_ynh.git synced 2024-09-03 19:56:22 +02:00

Merge branch 'master' into testing

This commit is contained in:
Éric Gaspar 2023-10-06 18:19:04 +02:00
commit cb8771a9cf
6 changed files with 5 additions and 10 deletions

View file

@ -10,4 +10,4 @@
*/
// Nécessaire pour situer les constantes dans le bon namespace
namespace Paheko;
namespace Garradin;

View file

@ -5,12 +5,12 @@
*
* Ce fichier sera mis à jour à chaque nouvelle version de Yunohost
*
* Pour ajouter vos configurations personnalisées, rendez-vous dans le fichier config.local.user.php
* Pour ajouter vos configurations personnalisées, rendez-vous dans le fichier data/config.local.user.php
*
*/
// Nécessaire pour situer les constantes dans le bon namespace
namespace Paheko;
namespace Garradin;
/**
* Clé secrète, doit être unique à chaque instance de Garradin

View file

@ -1,5 +1,3 @@
## Custom configurations
If you wish, you can add personal costum configurations by editing the `__INSTALL_DIR__/config.local.user.php` file. To see the possibilities, you can read the `__INSTALL_DIR__/config.dist.php` file first.

View file

@ -1 +0,0 @@
We encourage you to have a look at the Changelog: https://fossil.kd2.org/paheko/wiki?name=Changelog/1.3 when upgrading to this version because there are major changes. If you have installed some plugins, not all will be compatibles.

View file

@ -1 +0,0 @@
Nous vous encourageons à consulter le Journal des modifications: https://fossil.kd2.org/paheko/wiki?name=Changelog/1.3 avant de passer à cette version, car il y a des changements majeurs. Si vous avez installé des extensions, elles ne seront pas toutes compatibles.

View file

@ -53,8 +53,7 @@ fi
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..." --weight=5
# Download, check integrity, uncompress and patch the source from app.src
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --full_replace=1
fi
@ -86,7 +85,7 @@ ynh_script_progression --message="Updating a configuration file..." --weight=5
if ynh_compare_current_package_version --comparison lt --version 1.1.15~ynh1; then
chmod 750 "$install_dir/data/config.local.user.php"
ynh_add_config --template="config.local.user.php" --destination="$install_dir/data/config.local.user.php"
ynh_add_config --template="config.local.user.php" --destination="$install_dir/data/config.local.user.php"
fi
# NOTE: Don't overwrite config.local.user.php