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

So closer..

This commit is contained in:
Alexander Wühr 2023-02-24 14:47:40 +01:00
parent ea4b30c38a
commit e5b3a856eb
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -9,8 +9,8 @@
#=================================================
ntfy_setup_source() {
ynh_setup_source -d "$install_dir" -s "$YNH_ARCH"
ynh_secure_remove -f "$install_dir/client"
ynh_secure_remove -f "$install_dir/server"
ynh_secure_remove "$install_dir/client"
ynh_secure_remove "$install_dir/server"
mkdir -p "$install_dir/data"
}

View file

@ -28,6 +28,6 @@ ynh_script_progression -m "Starting systemd service..." -w 1
ynh_systemd_action -a start
ynh_script_progression -m "Adding admin user..." -w 1
ynh_exex_as $app NTFY_PASSWORD="$password" $install_dir/ntfy.sh user add --role=admin $admin
ynh_exec_as $app NTFY_PASSWORD="$password" $install_dir/ntfy.sh user add --role=admin $admin
ynh_script_progression -m "Installation completed" -l