1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
This commit is contained in:
ericgaspar 2022-03-04 23:26:33 +01:00
parent 755e922baf
commit 0bf73299d2
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 7 additions and 7 deletions

View file

@ -26,7 +26,7 @@
"multi_instance": false,
"services": [
"nginx",
"php7.3-fpm",
"php8.0-fpm",
"postgresql",
"metronome"
],

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES
#=================================================
YNH_PHP_VERSION="7.4"
YNH_PHP_VERSION="8.0"
YNH_COMPOSER_VERSION="2.2.7"

View file

@ -97,7 +97,7 @@ then
ynh_script_progression --message="Upgrading source files..."
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path"
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/config/db.inc.php"
fi
chmod 750 "$final_path"
@ -132,12 +132,12 @@ ynh_add_fpm_config
#=================================================
# UPDATE A CONFIG FILE
#=================================================
ynh_script_progression --message="Updating a configuration file..."
# ynh_script_progression --message="Updating a configuration file..."
ynh_add_config --template="../conf/db.example.inc.php" --destination="$final_path/config/db.inc.php"
# ynh_add_config --template="../conf/db.example.inc.php" --destination="$final_path/config/db.inc.php"
chmod 400 "$final_path/config/db.inc.php"
chown $app:$app "$final_path/config/db.inc.php"
# chmod 400 "$final_path/config/db.inc.php"
# chown $app:$app "$final_path/config/db.inc.php"
#=================================================
# BUILD MOVIM