Commit ea3ee221 authored by Markus Frosch's avatar Markus Frosch
Browse files

Remove old init.conf from upgraded systems

parent 3e1a43a0
...@@ -32,6 +32,9 @@ is_fresh_install() ...@@ -32,6 +32,9 @@ is_fresh_install()
dpkg-maintscript-helper rm_conffile \ dpkg-maintscript-helper rm_conffile \
"/etc/bash_completion.d/icinga2" "2.4.1-2~" -- "$@" "/etc/bash_completion.d/icinga2" "2.4.1-2~" -- "$@"
dpkg-maintscript-helper rm_conffile \
"/etc/icinga2/init.conf" "2.10.0~" -- "$@"
case "$1" in case "$1" in
configure) configure)
if ! getent passwd nagios > /dev/null ; then if ! getent passwd nagios > /dev/null ; then
......
...@@ -32,6 +32,9 @@ is_fresh_install() ...@@ -32,6 +32,9 @@ is_fresh_install()
dpkg-maintscript-helper rm_conffile \ dpkg-maintscript-helper rm_conffile \
"/etc/bash_completion.d/icinga2" "2.4.1-2~" -- "$@" "/etc/bash_completion.d/icinga2" "2.4.1-2~" -- "$@"
dpkg-maintscript-helper rm_conffile \
"/etc/icinga2/init.conf" "2.10.0~" -- "$@"
case "$1" in case "$1" in
configure) configure)
if ! getent passwd nagios > /dev/null ; then if ! getent passwd nagios > /dev/null ; then
......
...@@ -32,6 +32,9 @@ is_fresh_install() ...@@ -32,6 +32,9 @@ is_fresh_install()
dpkg-maintscript-helper rm_conffile \ dpkg-maintscript-helper rm_conffile \
"/etc/bash_completion.d/icinga2" "2.4.1-2~" -- "$@" "/etc/bash_completion.d/icinga2" "2.4.1-2~" -- "$@"
dpkg-maintscript-helper rm_conffile \
"/etc/icinga2/init.conf" "2.10.0~" -- "$@"
case "$1" in case "$1" in
configure) configure)
if ! getent passwd nagios > /dev/null ; then if ! getent passwd nagios > /dev/null ; then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment