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
commit44e012646af05afa1b369de98e36a3f4246b866a (patch)
treec08c73eb158d010036ee1c089aeb4ff6de134d54 /sys-apps/debianutils/files
parentOnly reinstall missing script if not bootstrapping (diff)
downloadhistorical-44e012646af05afa1b369de98e36a3f4246b866a.tar.gz
historical-44e012646af05afa1b369de98e36a3f4246b866a.tar.bz2
historical-44e012646af05afa1b369de98e36a3f4246b866a.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