1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ntfy_ynh.git synced 2024-09-03 19:46:27 +02:00

Fix helper script errors

This commit is contained in:
Alexander Wühr 2023-02-24 14:09:20 +01:00
parent f5a10c5127
commit 27834d4381
No known key found for this signature in database

View file

@ -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"