From 27834d438103f751dcb14b3f6f82cfa954d16802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20W=C3=BChr?= Date: Fri, 24 Feb 2023 14:09:20 +0100 Subject: [PATCH] Fix helper script errors --- scripts/_common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"