add depmod call to doinst
This commit is contained in:
parent
ff8e8ec03a
commit
3a29eabaa3
1 changed files with 4 additions and 2 deletions
|
@ -26,8 +26,8 @@ rm -fr $PKG
|
||||||
tar -C $TMP -xf $CWD/${PRGNAM}_linux_$VERSION.tar.gz
|
tar -C $TMP -xf $CWD/${PRGNAM}_linux_$VERSION.tar.gz
|
||||||
mv $TMP/${PRGNAM}_linux_$VERSION $TMP/$PRGNAM-$VERSION
|
mv $TMP/${PRGNAM}_linux_$VERSION $TMP/$PRGNAM-$VERSION
|
||||||
|
|
||||||
# Preparation
|
|
||||||
( cd $TMP/$PRGNAM-$VERSION
|
( cd $TMP/$PRGNAM-$VERSION
|
||||||
|
# Preparation
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . \
|
find . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
\( -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
|
mv $PKG/lib/firmware/*/Realtek-Firmware-License.txt $PKG/usr/doc/$PRGNAM
|
||||||
)
|
)
|
||||||
|
|
||||||
# Cleaning
|
|
||||||
( cd $PKG
|
( cd $PKG
|
||||||
|
# Cleaning
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . \
|
find . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
\( -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
|
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/wireless-rtl-ac-dc-power.sh
|
||||||
rm -f /etc/acpi/events/RadioPower.sh
|
rm -f /etc/acpi/events/RadioPower.sh
|
||||||
|
|
||||||
|
depmod -a
|
||||||
EOF
|
EOF
|
||||||
cat <<EOF > install/slack-desc
|
cat <<EOF > install/slack-desc
|
||||||
$PRGNAM: $PRGNAM (RTL8192SE Linux driver)
|
$PRGNAM: $PRGNAM (RTL8192SE Linux driver)
|
||||||
|
|
Loading…
Reference in a new issue