mirror of
https://github.com/YunoHost-Apps/phpipam_ynh.git
synced 2024-09-03 19:56:39 +02:00
Update install
This commit is contained in:
parent
640a785214
commit
f031803134
1 changed files with 1 additions and 4 deletions
|
@ -102,11 +102,8 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
|||
#=================================================
|
||||
ynh_script_progression --message="Adding a configuration file..." --time --weight=1
|
||||
|
||||
ynh_add_config --template="../conf/config.dist.php" --destination="$final_path/some_config_file"
|
||||
ynh_add_config --template="../conf/config.dist.php" --destination="$final_path/config.php"
|
||||
|
||||
# FIXME: this should be handled by the core in the future
|
||||
# You may need to use chmod 600 instead of 400,
|
||||
# for example if the app is expected to be able to modify its own config
|
||||
chmod 400 "$final_path/some_config_file"
|
||||
chown $app:$app "$final_path/some_config_file"
|
||||
|
||||
|
|
Loading…
Reference in a new issue