From 5b62ae49d8188a0f28fc1df8e80dcb35c29771ac Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Thu, 20 Apr 2017 20:26:38 +0200 Subject: [PATCH] core110: remove avahi from system and pakfire db Signed-off-by: Arne Fitzenreiter --- config/rootfiles/core/110/update.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/rootfiles/core/110/update.sh b/config/rootfiles/core/110/update.sh index 2011d4d9d8..0f54184daf 100644 --- a/config/rootfiles/core/110/update.sh +++ b/config/rootfiles/core/110/update.sh @@ -47,6 +47,13 @@ ldconfig # Remove deprecated options sed -e "/^RSAAuthentication/d" -i /etc/ssh/sshd_config +# Remove avahi from system and pakfire db +for i in $(cat /opt/pakfire/db/rootfiles/avahi); do + rm -rfv /${i} +done +rm -fv /opt/pakfire/db/rootfiles/avahi +rm -fv /opt/pakfire/db/*/meta-avahi + # Start services /etc/init.d/unbound start /etc/init.d/sshd restart -- 2.39.5