mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
cleaning
This commit is contained in:
parent
41cececeb5
commit
e47de152eb
2 changed files with 5 additions and 5 deletions
|
@ -117,7 +117,7 @@ exec_occ ldap:create-empty-config
|
||||||
|
|
||||||
# Load the installation config file in Nextcloud
|
# Load the installation config file in Nextcloud
|
||||||
nc_conf="$install_dir/config_install.json"
|
nc_conf="$install_dir/config_install.json"
|
||||||
ynh_add_config --template="../conf/config_install.json" --destination="$nc_conf"
|
ynh_add_config --template="config_install.json" --destination="$nc_conf"
|
||||||
|
|
||||||
exec_occ config:import "$nc_conf"
|
exec_occ config:import "$nc_conf"
|
||||||
|
|
||||||
|
@ -126,7 +126,7 @@ ynh_secure_remove --file="$nc_conf"
|
||||||
|
|
||||||
# Load the additional config file (used also for upgrade)
|
# Load the additional config file (used also for upgrade)
|
||||||
nc_conf="$install_dir/config.json"
|
nc_conf="$install_dir/config.json"
|
||||||
ynh_add_config --template="../conf/config.json" --destination="$nc_conf"
|
ynh_add_config --template="config.json" --destination="$nc_conf"
|
||||||
|
|
||||||
exec_occ config:import "$nc_conf"
|
exec_occ config:import "$nc_conf"
|
||||||
|
|
||||||
|
@ -211,7 +211,7 @@ ynh_store_file_checksum --file="$install_dir/config/config.php"
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
cron_path="/etc/cron.d/$app"
|
cron_path="/etc/cron.d/$app"
|
||||||
ynh_add_config --template="../conf/nextcloud.cron" --destination="$cron_path"
|
ynh_add_config --template="nextcloud.cron" --destination="$cron_path"
|
||||||
chown root: "$cron_path"
|
chown root: "$cron_path"
|
||||||
chmod 644 "$cron_path"
|
chmod 644 "$cron_path"
|
||||||
|
|
||||||
|
|
|
@ -281,7 +281,7 @@ EOF
|
||||||
ynh_backup_if_checksum_is_different --file="$install_dir/config/config.php"
|
ynh_backup_if_checksum_is_different --file="$install_dir/config/config.php"
|
||||||
|
|
||||||
nc_conf="${install_dir}/config.json"
|
nc_conf="${install_dir}/config.json"
|
||||||
ynh_add_config --template="../conf/config.json" --destination="$nc_conf"
|
ynh_add_config --template="config.json" --destination="$nc_conf"
|
||||||
|
|
||||||
# Reneable the mail app
|
# Reneable the mail app
|
||||||
if [ $mail_app_must_be_reactived -eq 1 ]; then
|
if [ $mail_app_must_be_reactived -eq 1 ]; then
|
||||||
|
@ -352,7 +352,7 @@ fi
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
cron_path="/etc/cron.d/$app"
|
cron_path="/etc/cron.d/$app"
|
||||||
ynh_add_config --template="../conf/nextcloud.cron" --destination="$cron_path"
|
ynh_add_config --template="nextcloud.cron" --destination="$cron_path"
|
||||||
chown root: "$cron_path"
|
chown root: "$cron_path"
|
||||||
chmod 644 "$cron_path"
|
chmod 644 "$cron_path"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue