SliTaz SliTaz Forum

You are not logged in.

#1 2011-08-26 22:09:41

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Cooking wok : ndiswrapper-driver post_install / post_remove "depmod -a" fails

Fixed: http://www.mediafire.com/file/3q4r1dxir1mxq99/ndiswrapper-driver-1.56.tazpkg

root@slitaz:/var/cache/tazpkg# diff -u receipt.a receipt.b

--- receipt.a   2011-08-26 13:37:21.000000000 -0400

+++ receipt.b   2011-08-26 13:51:18.030000026 -0400

@@ -1,7 +1,9 @@

# SliTaz package receipt.

-PACKED_SIZE="88.0K"

-UNPACKED_SIZE="132.0K"

+

+

+PACKED_SIZE="92.0K"

+UNPACKED_SIZE="92.0K"

PACKAGE="ndiswrapper-driver"

VERSION="1.56"

CATEGORY="system-tools"

@@ -48,11 +50,11 @@

post_install()

{

        echo "Processing post-install commands..."

-       chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz

+       chroot "$1/" depmod -a $VERSION-slitaz

}

post_remove()

{

        echo "Processing post-remove commands..."

-       chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz

+       chroot "$1/" depmod -a $VERSION-slitaz

}

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 8 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]