update.sh: Delete obsolete files from Net-DNS 1.25

Message ID 20201012182831.29026-1-matthias.fischer@ipfire.org
State Accepted
Commit decb7e61f19047ea6eb2dc1402efa46e581a8a0c
Headers
Series update.sh: Delete obsolete files from Net-DNS 1.25 |

Commit Message

Matthias Fischer Oct. 12, 2020, 6:28 p.m. UTC
  Fixes Bug #12491

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
---
 config/rootfiles/core/151/update.sh | 4 ++++
 1 file changed, 4 insertions(+)
  

Patch

diff --git a/config/rootfiles/core/151/update.sh b/config/rootfiles/core/151/update.sh
index 699528274..fa7e3a3bf 100644
--- a/config/rootfiles/core/151/update.sh
+++ b/config/rootfiles/core/151/update.sh
@@ -34,6 +34,10 @@  done
 # Remove files
 rm -rfv \
 	/usr/lib/perl5/site_perl/5.30.0/Locale
+rm -rfv \
+	/usr/lib/perl5/site_perl/5.30.0/*/Net/DNS
+rm -fv \
+	/usr/lib/perl5/site_perl/5.30.0/*/Net/DNS.pm
 
 # Stop services
 /etc/init.d/ipsec stop