1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Remove /var/db/pkg/* *inside* chroot area, not outside.

This commit is contained in:
Satoshi Asami 1999-09-11 13:19:32 +00:00
parent a780b738bc
commit 4e920fa436
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21663

View File

@ -137,7 +137,7 @@ for dir in ${cleandirs}; do
fi
done
rm -rf /var/db/pkg/*
rm -rf ${chroot}/var/db/pkg/*
chroot ${chroot} /sbin/ldconfig -R
chroot ${chroot} /sbin/ldconfig -aout -m /usr/lib/aout
@ -192,7 +192,7 @@ if [ $noclean = 0 -o $error = 0 ]; then
done
chroot ${chroot} /sbin/ldconfig -R
chroot ${chroot} /sbin/ldconfig -aout -R
rm -rf /var/db/pkg/*
rm -rf ${chroot}/var/db/pkg/*
rm ${chroot}/used/${pkgname}
rmdir ${chroot}/used
fi