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

fix hooks

This commit is contained in:
Josué Tille 2024-04-04 23:53:22 +02:00
parent 2c4e7ff6e4
commit dc34fd5c5f
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5

View file

@ -130,6 +130,7 @@ config_php_fpm() {
}
configure_hooks() {
ynh_replace_string --match_string=__APP__ --replace_string="$app" --target_file=../hooks/post_iptable_rules
ynh_replace_string --match_string=__INSTALL_DIR__ --replace_string="$install_dir" --target_file=../hooks/post_app_install
ynh_replace_string --match_string=__INSTALL_DIR__ --replace_string="$install_dir" --target_file=../hooks/post_app_remove
ynh_replace_string --match_string=__INSTALL_DIR__ --replace_string="$install_dir" --target_file=../hooks/post_app_upgrade