mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
Fix
This commit is contained in:
parent
755e922baf
commit
0bf73299d2
3 changed files with 7 additions and 7 deletions
|
@ -26,7 +26,7 @@
|
|||
"multi_instance": false,
|
||||
"services": [
|
||||
"nginx",
|
||||
"php7.3-fpm",
|
||||
"php8.0-fpm",
|
||||
"postgresql",
|
||||
"metronome"
|
||||
],
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# COMMON VARIABLES
|
||||
#=================================================
|
||||
|
||||
YNH_PHP_VERSION="7.4"
|
||||
YNH_PHP_VERSION="8.0"
|
||||
|
||||
YNH_COMPOSER_VERSION="2.2.7"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue