From f6c97e0b44421c1d420dbf19ee127246c2786575 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 29 Jan 2018 19:44:17 +0100 Subject: [PATCH] remove dropped pakages to make sure that apache not miss php files. Signed-off-by: Arne Fitzenreiter --- config/rootfiles/core/118/update.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config/rootfiles/core/118/update.sh b/config/rootfiles/core/118/update.sh index 49d67f223e..965d8348da 100644 --- a/config/rootfiles/core/118/update.sh +++ b/config/rootfiles/core/118/update.sh @@ -56,6 +56,18 @@ ldconfig # Update Language cache /usr/local/bin/update-lang-cache +# remove dropped packages +for package in python-libvirt owncloud mediatomb openmailadmin \ + tunctl phpSANE cacti nagios nagiosql ffmpeg-libs \ + sslscan pound vsftpd imspector tripwire; do + if [ -e /opt/pakfire/db/installed/meta-$package ]; then + pakfire remove -y $package + fi + rm -f /opt/pakfire/db/installed/meta-$package + rm -f /opt/pakfire/db/meta/meta-$package + rm -f /opt/pakfire/db/rootfiles/$package +done + # Start services /etc/init.d/unbound start /etc/init.d/apache restart -- 2.39.5