Re: Obsoleting configuration files during the upgrade process in debian preinst script

2016-09-05 Thread Stefan Fritsch
Hi Erik, On Monday, 5 September 2016 17:21:51 CEST Erik Wasser wrote: > 1) Is it possible to check against real files with `-f' instead of `-e' > in the `preinst/obsolete_conffile_exists()' function? Sounds like a good idea. > 2) Is this whole obsolete file check really needed for an upgrade >

Obsoleting configuration files during the upgrade process in debian preinst script

2016-09-05 Thread Erik Wasser
Hello *, is it possible to modify the function obsolete_conffile_exists() in the `preinst' script? I'm asking this with the following background: We're having the following configuration files in our apache environment: FILE /etc/apache2/sites-available/default.conf DIR