mirror of
https://github.com/YunoHost-Apps/element_ynh.git
synced 2024-09-03 18:36:08 +02:00
fix
This commit is contained in:
parent
68c6b91e8e
commit
9b2b670840
2 changed files with 5 additions and 6 deletions
|
@ -24,8 +24,6 @@ ynh_script_progression --message="Setting up source files..." --weight=4
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir"
|
||||
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
#=================================================
|
||||
# SYSTEM CONFIGURATION
|
||||
#=================================================
|
||||
|
@ -41,8 +39,8 @@ ynh_script_progression --message="Adding a configuration file..." --weight=1
|
|||
|
||||
ynh_add_config --template="../conf/config.json" --destination="$install_dir/config.json"
|
||||
|
||||
chmod 400 "$install_dir/config.json"
|
||||
chown $app:$app "$install_dir/config.json"
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
|
@ -43,6 +43,7 @@ then
|
|||
ynh_setup_source --dest_dir="$install_dir" --keep="config.json"
|
||||
fi
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
#=================================================
|
||||
|
@ -52,8 +53,8 @@ chown -R $app:www-data "$install_dir"
|
|||
|
||||
#ynh_add_config --template="../conf/config.json" --destination="$install_dir/config.json"
|
||||
|
||||
#chmod 400 "$install_dir/config.json"
|
||||
#chown $app:$app "$install_dir/config.json"
|
||||
#chmod -R o-rwx "$install_dir"
|
||||
#chown -R $app:www-data "$install_dir"
|
||||
|
||||
#=================================================
|
||||
# REAPPLY SYSTEM CONFIGURATIONS
|
||||
|
|
Loading…
Add table
Reference in a new issue