core133: Drop metadata for jansson package
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 27 May 2019 14:42:50 +0000 (15:42 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 27 May 2019 14:42:50 +0000 (15:42 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/133/update.sh

index 80622c4..9e385ec 100644 (file)
@@ -31,6 +31,13 @@ for (( i=1; i<=$core; i++ )); do
        rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire
 done
 
+# remove dropped packages
+for package in jansson; do
+       rm -f "/opt/pakfire/db/installed/meta-${package}"
+       rm -f "/opt/pakfire/db/meta/meta-${package}"
+       rm -f "/opt/pakfire/db/rootfiles/${package}"
+done
+
 # Stop services
 /etc/init.d/squid stop