1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/element_ynh.git synced 2024-09-03 18:36:08 +02:00
This commit is contained in:
Éric Gaspar 2023-02-14 15:24:49 +01:00
parent 34b4defeec
commit 6ae5488eff
3 changed files with 2 additions and 8 deletions

View file

@ -14,7 +14,6 @@ source /usr/share/yunohost/helpers
#=================================================
# Retrieve arguments
default_home_server=$YNH_APP_ARG_DEFAULT_HOME_SERVER
login_for_welcome=true
#=================================================
@ -22,7 +21,6 @@ login_for_welcome=true
#=================================================
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
#=================================================

View file

@ -29,6 +29,8 @@ ynh_restore_file --origin_path="$install_dir"
# Set permissions to app files
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
chmod 400 "$install_dir/config.json"
chown $app:$app "$install_dir/config.json"
#=================================================
# GENERIC FINALIZATION

View file

@ -2,12 +2,6 @@ test_format = 1.0
[default]
# -------------------------------
# Default args to use for install
# -------------------------------
args.default_home_server="matrix.org"
# -------------------------------
# Commits to test upgrade from
# -------------------------------