shutils: use xbps-pkgdb getpkg{name,version}, remove item from TODO.
--HG-- extra : convert_revision : 69927380509b3bc6b3f80ee3cbc44953bdd2b729
This commit is contained in:
parent
3d308188b7
commit
0bb1780f8e
4 changed files with 47 additions and 37 deletions
|
@ -237,7 +237,7 @@ umount_chroot_fs()
|
|||
[ -n "$base_chroot" ] && return 0
|
||||
|
||||
. $XBPS_SHUTILSDIR/builddep_funcs.sh
|
||||
check_installed_pkg xbps-base-chroot 0.1
|
||||
check_installed_pkg xbps-base-chroot-0.1
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "The '$pkgname' package requires to be installed in a chroot."
|
||||
echo "Please install the 'xbps-base-chroot' package and try again."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue