summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2003-09-25 02:46:08 +0000
committerMartin Schlemmer <azarah@gentoo.org>2003-09-25 02:46:08 +0000
commit572e79882952d5233c6a502537c6ce5d5ebb3ebf (patch)
tree2e57ce367b68c5f16c9d32a49e5f0eaad7e59523 /sys-apps/debianutils/files
parentOnly reinstall missing script if not bootstrapping (diff)
downloadgentoo-2-572e79882952d5233c6a502537c6ce5d5ebb3ebf.tar.gz
gentoo-2-572e79882952d5233c6a502537c6ce5d5ebb3ebf.tar.bz2
gentoo-2-572e79882952d5233c6a502537c6ce5d5ebb3ebf.zip
Fix bug #25216, mark stable
Diffstat (limited to 'sys-apps/debianutils/files')
-rw-r--r--sys-apps/debianutils/files/debianutils-1.16.7-gentoo.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/debianutils/files/debianutils-1.16.7-gentoo.patch b/sys-apps/debianutils/files/debianutils-1.16.7-gentoo.patch
index 5947a7907fec..e690dc546f4a 100644
--- a/sys-apps/debianutils/files/debianutils-1.16.7-gentoo.patch
+++ b/sys-apps/debianutils/files/debianutils-1.16.7-gentoo.patch
@@ -20,8 +20,8 @@ diff -urN debianutils-1.16.7.old/mkboot debianutils-1.16.7/mkboot
- [ $(dpkg -s grub | grep -i ^status: | cut -d ' ' -f 4) = "installed" ]
+ # Right way in Gentoo to check, but grub is in system profile,
+ # so rather check for lilo first....
-+ if [ -x /usr/bin/qpkg ] ; then
-+ [ "$(qpkg -nc sys-apps/grub)" = "sys-apps/grub *" ]
++ if [ -x /usr/bin/portageq ] ; then
++ portageq has_version / "sys-apps/grub" && return 0 || return 1
+ else
+ return 1
+ fi