diff --git a/scripts/_common.sh b/scripts/_common.sh index 37626a8..d83babe 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -7,7 +7,7 @@ #================================================= # PERSONAL HELPERS #================================================= -ntfy_setup_source { +ntfy_setup_source() { ynh_setup_source -d "$install_dir" -a "$YNH_ARCH" ynh_secure_remove --file=$install_dir/client ynh_secure_remove --file=$install_dir/server @@ -15,7 +15,7 @@ ntfy_setup_source { mkdir -p "$install_dir/data" } -ntfy_fix_permissions { +ntfy_fix_permissions() { chmod o+w "$install_dir/data" chmod 400 "$install_dir/server.yml" chown $app:$app "$install_dir/server.yml"