1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ntfy_ynh.git synced 2024-09-03 19:46:27 +02:00
ntfy_ynh/scripts/_common.sh
Alexander Wühr 74004f765e
Switch to manifest src handling (#26)
* Switch to manifest src handling - take 1

* Switch to manifest src handling - take 2

* Switch to manifest src handling - take 3

* Update pkg to 2.7.0~ynh2
2023-09-04 22:31:24 +02:00

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
#=================================================