From 3a29eabaa3654e8c8b7b7f009a26d43fb415cc3b Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Thu, 30 Sep 2010 07:09:21 +0700 Subject: [PATCH] add depmod call to doinst --- a/rtl8192se/rtl8192se.SlackBuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/a/rtl8192se/rtl8192se.SlackBuild b/a/rtl8192se/rtl8192se.SlackBuild index 0a765b36..5ce18208 100755 --- a/a/rtl8192se/rtl8192se.SlackBuild +++ b/a/rtl8192se/rtl8192se.SlackBuild @@ -26,8 +26,8 @@ rm -fr $PKG tar -C $TMP -xf $CWD/${PRGNAM}_linux_$VERSION.tar.gz mv $TMP/${PRGNAM}_linux_$VERSION $TMP/$PRGNAM-$VERSION -# Preparation ( cd $TMP/$PRGNAM-$VERSION +# Preparation chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -50,8 +50,8 @@ mv $TMP/${PRGNAM}_linux_$VERSION $TMP/$PRGNAM-$VERSION mv $PKG/lib/firmware/*/Realtek-Firmware-License.txt $PKG/usr/doc/$PRGNAM ) -# Cleaning ( cd $PKG +# Cleaning chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -68,6 +68,8 @@ grep r8192_pci.ko /lib/modules/\$(uname -r)/modules.dep && rm -fr /lib/modules/\ grep r8192se_pci.ko /lib/modules/\$(uname -r)/modules.dep && rm -fr /lib/modules/\$(uname -r)/kernel/ubuntu/rtl8192se/* || echo > /dev/null rm -f /etc/acpi/wireless-rtl-ac-dc-power.sh rm -f /etc/acpi/events/RadioPower.sh + +depmod -a EOF cat < install/slack-desc $PRGNAM: $PRGNAM (RTL8192SE Linux driver)