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:
parent
f5a10c5127
commit
27834d4381
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue