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
34b4defeec
commit
6ae5488eff
3 changed files with 2 additions and 8 deletions
|
@ -14,7 +14,6 @@ source /usr/share/yunohost/helpers
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Retrieve arguments
|
# Retrieve arguments
|
||||||
default_home_server=$YNH_APP_ARG_DEFAULT_HOME_SERVER
|
|
||||||
login_for_welcome=true
|
login_for_welcome=true
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -22,7 +21,6 @@ login_for_welcome=true
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Storing installation settings..." --weight=1
|
ynh_script_progression --message="Storing installation settings..." --weight=1
|
||||||
|
|
||||||
ynh_app_setting_set --app=$app --key=default_home_server --value=$default_home_server
|
|
||||||
ynh_app_setting_set --app=$app --key=login_for_welcome --value=$login_for_welcome
|
ynh_app_setting_set --app=$app --key=login_for_welcome --value=$login_for_welcome
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -29,6 +29,8 @@ ynh_restore_file --origin_path="$install_dir"
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
|
chmod 400 "$install_dir/config.json"
|
||||||
|
chown $app:$app "$install_dir/config.json"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
|
@ -2,12 +2,6 @@ test_format = 1.0
|
||||||
|
|
||||||
[default]
|
[default]
|
||||||
|
|
||||||
# -------------------------------
|
|
||||||
# Default args to use for install
|
|
||||||
# -------------------------------
|
|
||||||
|
|
||||||
args.default_home_server="matrix.org"
|
|
||||||
|
|
||||||
# -------------------------------
|
# -------------------------------
|
||||||
# Commits to test upgrade from
|
# Commits to test upgrade from
|
||||||
# -------------------------------
|
# -------------------------------
|
||||||
|
|
Loading…
Add table
Reference in a new issue