From: Arne Fitzenreiter Date: Mon, 29 Jan 2018 18:44:17 +0000 (+0100) Subject: remove dropped pakages to make sure that apache not miss php files. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f6c97e0b44421c1d420dbf19ee127246c2786575;p=people%2Fms%2Fipfire-2.x.git remove dropped pakages to make sure that apache not miss php files. Signed-off-by: Arne Fitzenreiter --- 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