[Glibc-bsd-commits] r2717 - trunk/kfreebsd-7/debian
Aurelien Jarno
aurel32 at alioth.debian.org
Thu Aug 20 17:39:09 UTC 2009
Author: aurel32
Date: 2009-08-20 17:39:09 +0000 (Thu, 20 Aug 2009)
New Revision: 2717
Modified:
trunk/kfreebsd-7/debian/kfreebsd-image.postinst.in
Log:
Remove a grep
Modified: trunk/kfreebsd-7/debian/kfreebsd-image.postinst.in
===================================================================
--- trunk/kfreebsd-7/debian/kfreebsd-image.postinst.in 2009-08-20 17:25:34 UTC (rev 2716)
+++ trunk/kfreebsd-7/debian/kfreebsd-image.postinst.in 2009-08-20 17:39:09 UTC (rev 2717)
@@ -42,7 +42,7 @@
fi
# on i386 acpi MUST be within kfreebsd-loader reach
- if echo $RELEASE | grep -q -- '-[46]86' ; then
+ if [ "${RELEASE%%-[456]86}" != "${RELEASE}" ] ; then
if [ "$(readlink -f /boot/kernel/acpi.ko)" != "/lib/modules/$RELEASE/acpi.ko" ] ; then
rm -f /boot/kernel/acpi.ko.old
if [ -L /boot/kernel/acpi.ko ] ; then
More information about the Glibc-bsd-commits
mailing list