mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Remove /var/db/pkg/* *inside* chroot area, not outside.
This commit is contained in:
parent
a780b738bc
commit
4e920fa436
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21663
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user