[arch-commits] Commit in hwdetect/trunk (PKGBUILD hwdetect)
Tobias Powalowski
tpowa at archlinux.org
Tue Sep 8 18:56:24 UTC 2009
Date: Tuesday, September 8, 2009 @ 14:56:23
Author: tpowa
Revision: 51474
upgpkg: hwdetect 2009.09-4
final 8139 fix
Modified:
hwdetect/trunk/PKGBUILD
hwdetect/trunk/hwdetect
----------+
PKGBUILD | 4 ++--
hwdetect | 6 ++++--
2 files changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-09-08 18:35:08 UTC (rev 51473)
+++ PKGBUILD 2009-09-08 18:56:23 UTC (rev 51474)
@@ -2,7 +2,7 @@
# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
pkgname=hwdetect
pkgver=2009.09
-pkgrel=3
+pkgrel=4
pkgdesc="Hardware detection script with loading modules and mkinitcpio.conf / rc.conf support"
arch=(i686 x86_64)
license=('GPL')
@@ -16,4 +16,4 @@
build() {
install -D -m 755 $startdir/src/hwdetect $startdir/pkg/sbin/hwdetect
}
-md5sums=('09e458425152fb73a96a302ce57543b9')
+md5sums=('ba2ccd49f562b865fb7280e1e3b8b3ee')
Modified: hwdetect
===================================================================
--- hwdetect 2009-09-08 18:35:08 UTC (rev 51473)
+++ hwdetect 2009-09-08 18:56:23 UTC (rev 51474)
@@ -457,18 +457,20 @@
--net) if [ "$(showlist2 "MODULES" \($(listmods drivers/net/ irda ppp_generic slhc) $(listmods drivers/usb/net/) $(listmods drivers/staging/) \) | sed -e 's/(\ /(/g' -e 's/\ )/)/g' -e 's/\ \ /\ /g' | grep '8139cp')" ] ; then
if [ "$(cat /proc/modules | grep '8139too')" ]; then
MODULES_EXPORTED="$MODULES_EXPORTED $(listmods drivers/net/ irda ppp_generic slhc) $(listmods drivers/usb/net/) $(listmods drivers/staging/)"
+ MODULES_EXPORTED="$(echo $MODULES_EXPORTED | sed -e 's/8139cp//g')"
BLACKLIST_UDEV=""
for i in $MODULES_EXPORTED; do
BLACKLIST_UDEV="$BLACKLIST_UDEV !$i"
done
- showlist2 "MODULES" \($BLACKLIST_UDEV $MODULES_EXPORTED\) | sed -e 's/!8139cp//g' -e 's/8139cp//g' -e 's/(\ /(/g' -e 's/(\ /(/g' -e 's/\ )/)/g' -e 's/\ \ /\ /g'
+ showlist2 "MODULES" \($BLACKLIST_UDEV $MODULES_EXPORTED\) | sed -e 's/(\ /(/g' -e 's/(\ /(/g' -e 's/\ )/)/g' -e 's/\ \ /\ /g'
else
MODULES_EXPORTED="$MODULES_EXPORTED $(listmods drivers/net/ irda ppp_generic slhc) $(listmods drivers/usb/net/) $(listmods drivers/staging/)"
+ MODULES_EXPORTED="$(echo $MODULES_EXPORTED | sed -e 's/8139too//g')"
BLACKLIST_UDEV=""
for i in $MODULES_EXPORTED; do
BLACKLIST_UDEV="$BLACKLIST_UDEV !$i"
done
- showlist2 "MODULES" \($BLACKLIST_UDEV $MODULES_EXPORTED\) | sed -e -e 's/!8139too//g' 's/8139too//g' -e 's/(\ /(/g' -e 's/(\ /(/g' -e 's/\ )/)/g' -e 's/\ \ /\ /g'
+ showlist2 "MODULES" \($BLACKLIST_UDEV $MODULES_EXPORTED\) | sed -e 's/(\ /(/g' -e 's/(\ /(/g' -e 's/\ )/)/g' -e 's/\ \ /\ /g'
fi
else
MODULES_EXPORTED="$MODULES_EXPORTED $(listmods drivers/net/ irda ppp_generic slhc) $(listmods drivers/usb/net/) $(listmods drivers/staging/)"
More information about the arch-commits
mailing list