1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fider_ynh.git synced 2024-09-03 18:36:11 +02:00

Fix wording and typos

This commit is contained in:
Jimmy Monin 2017-06-17 18:02:28 +02:00
parent 922a70929f
commit 9d182f9ccc

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
#================================================= #=================================================
# GENERIC STARTING # GENERIC START
#================================================= #=================================================
# IMPORT GENERIC HELPERS # IMPORT GENERIC HELPERS
#================================================= #=================================================
@ -24,7 +24,7 @@ port=$(ynh_app_setting_get $app port)
db_name=$(ynh_app_setting_get $app db_name) db_name=$(ynh_app_setting_get $app db_name)
#================================================= #=================================================
# FIX OLD THINGS # ENSURE DOWNWARD COMPATIBILITY
#================================================= #=================================================
if [ "$is_public" = "Yes" ]; then if [ "$is_public" = "Yes" ]; then
@ -44,7 +44,7 @@ fi
# CHECK THE PATH # CHECK THE PATH
#================================================= #=================================================
# Normalize the url path syntax # Normalize the URL path syntax
path_url=$(ynh_normalize_url_path $path_url) path_url=$(ynh_normalize_url_path $path_url)
#================================================= #=================================================
@ -92,7 +92,7 @@ ynh_store_file_checksum "$final_path/CONFIG_FILE"
# SETUP LOGROTATE # SETUP LOGROTATE
#================================================= #=================================================
# Use logrotate to manage the logfile # Use logrotate to manage app-specific logfile(s)
ynh_use_logrotate ynh_use_logrotate
#================================================= #=================================================
@ -103,12 +103,12 @@ ynh_use_logrotate
ynh_systemd_config ynh_systemd_config
#================================================= #=================================================
# GENERIC FINALISATION # GENERIC FINALIZATION
#================================================= #=================================================
# SECURING FILES AND DIRECTORIES # SECURE FILES AND DIRECTORIES
#================================================= #=================================================
# Set right permissions for curl install # Set right permissions for curl installation
sudo chown -R root: $final_path sudo chown -R root: $final_path
#================================================= #=================================================
@ -122,7 +122,7 @@ fi
# Make app public if necessary # Make app public if necessary
if [ $is_public -eq 1 ] if [ $is_public -eq 1 ]
then then
# unprotected_uris allows SSO credentials to be passed anyway. # unprotected_uris allows SSO credentials to be passed anyway
ynh_app_setting_set $app unprotected_uris "/" ynh_app_setting_set $app unprotected_uris "/"
fi fi