aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-11-11 14:39:20 +0800
committersem <sem@FreeBSD.org>2005-11-11 14:39:20 +0800
commitd6168963cf5cc6140e21e2c983930043d1e3039e (patch)
treee359d5178127854f443c3bc62f7c144aa8b3e8e6 /sysutils
parentece4a2f344b8694097416dcbbbe30ea942a89bcb (diff)
downloadfreebsd-ports-gnome-d6168963cf5cc6140e21e2c983930043d1e3039e.tar.gz
freebsd-ports-gnome-d6168963cf5cc6140e21e2c983930043d1e3039e.tar.zst
freebsd-ports-gnome-d6168963cf5cc6140e21e2c983930043d1e3039e.zip
- Add freebsd7 detecting in grub-install script
PR: ports/88318 Submitted by: Thierry Herbelot
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/grub/files/patch-grub-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/grub/files/patch-grub-install b/sysutils/grub/files/patch-grub-install
index c08135f40826..133dc4351eeb 100644
--- a/sysutils/grub/files/patch-grub-install
+++ b/sysutils/grub/files/patch-grub-install
@@ -12,7 +12,7 @@
+ | sed "s%.*/r\{0,1\}[saw]d[0-9]\(s[0-9]*[a-h]\)%\1%" \
+ | sed "s%.*/r\{0,1\}da[0-9]\(s[0-9]*[a-h]\)%\1%"`
+ ;;
-+ freebsd[56]*)
++ freebsd[567]*)
+ tmp_disk=`echo "$1" | sed 's%r\{0,1\}\([saw]d[0-9]*\).*$%\1%' \
+ | sed 's%r\{0,1\}\(da[0-9]*\).*$%\1%'`
tmp_part=`echo "$1" \