mirror of
https://github.com/YunoHost-Apps/cryptpad_ynh.git
synced 2024-09-03 18:26:14 +02:00
Cleaning up
This commit is contained in:
parent
404a14ef5a
commit
ddfc7d68e8
2 changed files with 3 additions and 3 deletions
|
@ -122,8 +122,8 @@ ynh_add_systemd_config
|
||||||
# Copy default configuration file
|
# Copy default configuration file
|
||||||
mv "../conf/config.js" "$final_path/config/config.js"
|
mv "../conf/config.js" "$final_path/config/config.js"
|
||||||
|
|
||||||
ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/config/config.js"
|
ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/config/config.js"
|
||||||
ynh_replace_string --match_string="__PORTI__" --replace_string="$porti" --target_file="$final_path/config/config.js"
|
ynh_replace_string --match_string="__PORTI__" --replace_string="$porti" --target_file="$final_path/config/config.js"
|
||||||
ynh_replace_string --match_string="__ADMIN_MAIL__" --replace_string="$admin_mail" --target_file="$final_path/config/config.js"
|
ynh_replace_string --match_string="__ADMIN_MAIL__" --replace_string="$admin_mail" --target_file="$final_path/config/config.js"
|
||||||
|
|
||||||
# Store file checksum to detected user modifications on upgrade
|
# Store file checksum to detected user modifications on upgrade
|
||||||
|
|
|
@ -70,7 +70,7 @@ ynh_system_user_create --username=$app
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Restore permissions on app files
|
# Restore permissions on app files
|
||||||
chown -R $app:$app $final_path
|
chown -R $app: $final_path
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# REINSTALL DEPENDENCIES
|
# REINSTALL DEPENDENCIES
|
||||||
|
|
Loading…
Reference in a new issue