# HG changeset patch # User Pascal Bellard # Date 1207761511 0 # Node ID 998d2b306f24a5d2100fa8f32bb3b2f93a29e6b3 # Parent 28ca13e854f34ea80e68097124e56d2bb71c4423 fix depmod args diff -r 28ca13e854f3 -r 998d2b306f24 kqemu/receipt --- a/kqemu/receipt Wed Apr 09 14:39:53 2008 +0000 +++ b/kqemu/receipt Wed Apr 09 17:18:31 2008 +0000 @@ -39,7 +39,7 @@ # Post install/remove commands for Tazpkg. post_install() { - depmod -a -b "$(dirname $1/lib/modules/*/modules.dep)" + depmod -a -b /$1 } post_remove() diff -r 28ca13e854f3 -r 998d2b306f24 linux-acpi/receipt --- a/linux-acpi/receipt Wed Apr 09 14:39:53 2008 +0000 +++ b/linux-acpi/receipt Wed Apr 09 17:18:31 2008 +0000 @@ -24,7 +24,7 @@ # Post install/remove commands for Tazpkg. post_install() { - depmod -a -b "$1/lib/modules/$VERSION-slitaz" + depmod -a -b /$1 } post_remove() diff -r 28ca13e854f3 -r 998d2b306f24 linux-ieee1394/receipt --- a/linux-ieee1394/receipt Wed Apr 09 14:39:53 2008 +0000 +++ b/linux-ieee1394/receipt Wed Apr 09 17:18:31 2008 +0000 @@ -24,7 +24,7 @@ # Post install/remove commands for Tazpkg. post_install() { - depmod -a -b "$1/lib/modules/$VERSION-slitaz" + depmod -a -b /$1 } post_remove() diff -r 28ca13e854f3 -r 998d2b306f24 linux-reiserfs/receipt --- a/linux-reiserfs/receipt Wed Apr 09 14:39:53 2008 +0000 +++ b/linux-reiserfs/receipt Wed Apr 09 17:18:31 2008 +0000 @@ -24,7 +24,7 @@ # Post install/remove commands for Tazpkg. post_install() { - depmod -a -b "$1/lib/modules/$VERSION-slitaz" + depmod -a -b /$1 } post_remove() diff -r 28ca13e854f3 -r 998d2b306f24 linux-sound/receipt --- a/linux-sound/receipt Wed Apr 09 14:39:53 2008 +0000 +++ b/linux-sound/receipt Wed Apr 09 17:18:31 2008 +0000 @@ -21,7 +21,7 @@ # Post install/remove commands for Tazpkg. post_install() { - depmod -a -b "$1/lib/modules/$VERSION-slitaz" + depmod -a -b /$1 } post_remove() diff -r 28ca13e854f3 -r 998d2b306f24 linux-wireless/receipt --- a/linux-wireless/receipt Wed Apr 09 14:39:53 2008 +0000 +++ b/linux-wireless/receipt Wed Apr 09 17:18:31 2008 +0000 @@ -24,7 +24,7 @@ # Post install/remove commands for Tazpkg. post_install() { - depmod -a -b "$1/lib/modules/$VERSION-slitaz" + depmod -a -b /$1 } post_remove() diff -r 28ca13e854f3 -r 998d2b306f24 linux/receipt --- a/linux/receipt Wed Apr 09 14:39:53 2008 +0000 +++ b/linux/receipt Wed Apr 09 17:18:31 2008 +0000 @@ -71,7 +71,7 @@ post_install() { echo "Processing post-install commands..." - depmod -a -b "$1/lib/modules/$VERSION-slitaz" + depmod -a -b /$1 echo "----" echo "If you have GRUB installed, you can add tree lines to boot SliTaz." echo "Example /boot/grub/menu.lst" diff -r 28ca13e854f3 -r 998d2b306f24 shfs/receipt --- a/shfs/receipt Wed Apr 09 14:39:53 2008 +0000 +++ b/shfs/receipt Wed Apr 09 17:18:31 2008 +0000 @@ -46,7 +46,7 @@ # Post install/remove commands for Tazpkg. post_install() { - depmod -a -b "$(dirname $1/lib/modules/*/modules.dep)" + depmod -a -b /$1 } post_remove() diff -r 28ca13e854f3 -r 998d2b306f24 squashfs/receipt --- a/squashfs/receipt Wed Apr 09 14:39:53 2008 +0000 +++ b/squashfs/receipt Wed Apr 09 17:18:31 2008 +0000 @@ -82,7 +82,7 @@ # Post install/remove commands for Tazpkg. post_install() { - depmod -a -b "$(dirname $1/lib/modules/*/modules.dep)" + depmod -a -b /$1 } post_remove()