From 73d188a6e0a4da4f79073dfab2f2e32a77815cb8 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 19 May 2022 13:09:08 +0200 Subject: [PATCH] TT#177600 Remove unused files from /etc/ngcp-config/ The factory_default files are not created anymore by the installer, and the systems.cfg file is neither created by the installer nor needed or used since commit 5e2037cf8284d7af472c282471ec6b80c398ccea. Change-Id: I9c58021db307f23923b4cfee8a1862561dc09d3d --- debian/ngcp-ngcpcfg.postinst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/ngcp-ngcpcfg.postinst b/debian/ngcp-ngcpcfg.postinst index 39bb18d5..98ab0148 100644 --- a/debian/ngcp-ngcpcfg.postinst +++ b/debian/ngcp-ngcpcfg.postinst @@ -14,6 +14,11 @@ case "$1" in fi addgroup --system --force-badname --quiet _ngcp-admin + + # Since mr10.5. + rm -f /etc/ngcp-config/config.yml.factory_default + rm -f /etc/ngcp-config/network.yml.factory_default + rm -f /etc/ngcp-config/systems.cfg ;; abort-upgrade|abort-remove|abort-deconfigure)