1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/civicrm_drupal7_ynh.git synced 2024-09-03 18:16:19 +02:00

Merge pull request #33 from YunoHost-Apps/example

Example
This commit is contained in:
yalh76 2022-01-05 20:09:59 +01:00 committed by GitHub
commit b4065f6a3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 18 additions and 17 deletions

View file

@ -28,8 +28,7 @@ Open source constituent relationship management (CRM) for non-profits, NGOs and
## Disclaimers / important information
* Any known limitations, constrains or stuff not working, such as (but not limited to):
* LDAP module can be installed
* LDAP module can be installed
## Documentation and resources

View file

@ -24,8 +24,7 @@ Gestion des relations avec les constituants (GRC/CRM) pour les organisations à
## Avertissements / informations importantes
* Toute limitation connue, contrainte ou élément qui ne fonctionne pas, comme (mais sans s'y limiter) :
* Le module d'authentification LDAP peut être installé
* Le module d'authentification LDAP peut être installé
## Documentations et ressources

View file

@ -3,7 +3,9 @@ location __PATH__/ {
# Path to source
alias __FINALPATH__/__NAME__/ ;
index index.php;
if (!-e $request_filename)
{
rewrite ^__PATH__/(.+)$ __PATH__/index.php?q=$1 last;

View file

@ -1,2 +1 @@
* Any known limitations, constrains or stuff not working, such as (but not limited to):
* LDAP module can be installed
* LDAP module can be installed

View file

@ -1,2 +1 @@
* Toute limitation connue, contrainte ou élément qui ne fonctionne pas, comme (mais sans s'y limiter) :
* Le module d'authentification LDAP peut être installé
* Le module d'authentification LDAP peut être installé

View file

@ -6,6 +6,7 @@
YNH_PHP_VERSION="7.3"
# dependencies used by the app
pkg_dependencies="curl libzip-dev php${YNH_PHP_VERSION}-fpm php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-soap"
#=================================================

View file

@ -31,14 +31,6 @@ ynh_script_progression --message="Removing the MySQL database..."
# Remove a database if it exists, along with the associated user
ynh_mysql_remove_db --db_user=$db_user --db_name=$db_name
#=================================================
# REMOVE DEPENDENCIES
#=================================================
ynh_script_progression --message="Removing dependencies..."
# Remove metapackage and its dependencies
ynh_remove_app_dependencies
#=================================================
# REMOVE APP MAIN DIR
#=================================================
@ -63,6 +55,14 @@ ynh_script_progression --message="Removing PHP-FPM configuration..."
# Remove the dedicated PHP-FPM config
ynh_remove_fpm_config
#=================================================
# REMOVE DEPENDENCIES
#=================================================
ynh_script_progression --message="Removing dependencies..."
# Remove metapackage and its dependencies
ynh_remove_app_dependencies
#=================================================
# SPECIFIC REMOVE
#=================================================

View file

@ -39,7 +39,8 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#=================================================
ynh_script_progression --message="Validating restoration parameters..."
test ! -d $final_path || ynh_die --message="There is already a directory: $final_path "
test ! -d $final_path \
|| ynh_die --message="There is already a directory: $final_path "
#=================================================
# STANDARD RESTORATION STEPS

View file

@ -27,6 +27,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#=================================================
# CHECK VERSION
#=================================================
ynh_script_progression --message="Checking version..."
upgrade_type=$(ynh_check_app_version_changed)