99cleanupdb: drop silly apt purge attempt

Why would anyone try to remove apt when it's needed
for package dependency tracking for the installation,
it only takes a less cursory look at the build.log
to figure out it didn't actually happen anyways...
This commit is contained in:
Michael Shigorin 2012-06-14 00:26:12 +03:00
parent 8989fc2771
commit 07d812d7ff

View File

@ -3,9 +3,6 @@
echo "** install2 packages before rpmdb purge:"
rpmquery -a --qf='%{NAME} %{VERSION}-%{RELEASE}\n'
# not going to need them without rpmdb, it's not even rescue anymore
apt-get remove -f -y apt libapt
# remove rpm, apt databases and cache
find /var/lib/rpm /var/lib/apt /var/cache/apt -type f -delete