mirror of
https://github.com/YunoHost-Apps/ntfy_ynh.git
synced 2024-09-03 19:46:27 +02:00
be102343e1
* Switch to manifest src handling (#26) * Update pkg to 2.7.0~ynh2 * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org>
27 lines
772 B
Bash
27 lines
772 B
Bash
#!/bin/bash
|
|
|
|
#=================================================
|
|
# COMMON VARIABLES
|
|
#=================================================
|
|
|
|
#=================================================
|
|
# PERSONAL HELPERS
|
|
#=================================================
|
|
|
|
ntfy_setup_source() {
|
|
ynh_setup_source -d "$install_dir"
|
|
mkdir -p "$install_dir/data"
|
|
chown -R $app:$app "$install_dir"
|
|
chmod -R 750 "$install_dir/data"
|
|
|
|
ynh_secure_remove "$install_dir/client"
|
|
ynh_secure_remove "$install_dir/server"
|
|
}
|
|
|
|
#=================================================
|
|
# EXPERIMENTAL HELPERS
|
|
#=================================================
|
|
|
|
#=================================================
|
|
# FUTURE OFFICIAL HELPERS
|
|
#=================================================
|