wok-4.x rev 532

fix depmod args
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 09 17:18:31 2008 +0000 (2008-04-09)
parents 28ca13e854f3
children e235fcd822bc
files kqemu/receipt linux-acpi/receipt linux-ieee1394/receipt linux-reiserfs/receipt linux-sound/receipt linux-wireless/receipt linux/receipt shfs/receipt squashfs/receipt
line diff
     1.1 --- a/kqemu/receipt	Wed Apr 09 14:39:53 2008 +0000
     1.2 +++ b/kqemu/receipt	Wed Apr 09 17:18:31 2008 +0000
     1.3 @@ -39,7 +39,7 @@
     1.4  # Post install/remove commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 -	depmod -a -b "$(dirname $1/lib/modules/*/modules.dep)"
     1.8 +	depmod -a -b /$1
     1.9  }
    1.10  
    1.11  post_remove()
     2.1 --- a/linux-acpi/receipt	Wed Apr 09 14:39:53 2008 +0000
     2.2 +++ b/linux-acpi/receipt	Wed Apr 09 17:18:31 2008 +0000
     2.3 @@ -24,7 +24,7 @@
     2.4  # Post install/remove commands for Tazpkg.
     2.5  post_install()
     2.6  {
     2.7 -	depmod -a -b "$1/lib/modules/$VERSION-slitaz"
     2.8 +	depmod -a -b /$1
     2.9  }
    2.10  
    2.11  post_remove()
     3.1 --- a/linux-ieee1394/receipt	Wed Apr 09 14:39:53 2008 +0000
     3.2 +++ b/linux-ieee1394/receipt	Wed Apr 09 17:18:31 2008 +0000
     3.3 @@ -24,7 +24,7 @@
     3.4  # Post install/remove commands for Tazpkg.
     3.5  post_install()
     3.6  {
     3.7 -	depmod -a -b "$1/lib/modules/$VERSION-slitaz"
     3.8 +	depmod -a -b /$1
     3.9  }
    3.10  
    3.11  post_remove()
     4.1 --- a/linux-reiserfs/receipt	Wed Apr 09 14:39:53 2008 +0000
     4.2 +++ b/linux-reiserfs/receipt	Wed Apr 09 17:18:31 2008 +0000
     4.3 @@ -24,7 +24,7 @@
     4.4  # Post install/remove commands for Tazpkg.
     4.5  post_install()
     4.6  {
     4.7 -	depmod -a -b "$1/lib/modules/$VERSION-slitaz"
     4.8 +	depmod -a -b /$1
     4.9  }
    4.10  
    4.11  post_remove()
     5.1 --- a/linux-sound/receipt	Wed Apr 09 14:39:53 2008 +0000
     5.2 +++ b/linux-sound/receipt	Wed Apr 09 17:18:31 2008 +0000
     5.3 @@ -21,7 +21,7 @@
     5.4  # Post install/remove commands for Tazpkg.
     5.5  post_install()
     5.6  {
     5.7 -	depmod -a -b "$1/lib/modules/$VERSION-slitaz"
     5.8 +	depmod -a -b /$1
     5.9  }
    5.10  
    5.11  post_remove()
     6.1 --- a/linux-wireless/receipt	Wed Apr 09 14:39:53 2008 +0000
     6.2 +++ b/linux-wireless/receipt	Wed Apr 09 17:18:31 2008 +0000
     6.3 @@ -24,7 +24,7 @@
     6.4  # Post install/remove commands for Tazpkg.
     6.5  post_install()
     6.6  {
     6.7 -	depmod -a -b "$1/lib/modules/$VERSION-slitaz"
     6.8 +	depmod -a -b /$1
     6.9  }
    6.10  
    6.11  post_remove()
     7.1 --- a/linux/receipt	Wed Apr 09 14:39:53 2008 +0000
     7.2 +++ b/linux/receipt	Wed Apr 09 17:18:31 2008 +0000
     7.3 @@ -71,7 +71,7 @@
     7.4  post_install()
     7.5  {
     7.6      echo "Processing post-install commands..."
     7.7 -    depmod -a -b "$1/lib/modules/$VERSION-slitaz"
     7.8 +    depmod -a -b /$1
     7.9      echo "----"
    7.10      echo "If you have GRUB installed, you can add tree lines to boot SliTaz."
    7.11      echo "Example /boot/grub/menu.lst"
     8.1 --- a/shfs/receipt	Wed Apr 09 14:39:53 2008 +0000
     8.2 +++ b/shfs/receipt	Wed Apr 09 17:18:31 2008 +0000
     8.3 @@ -46,7 +46,7 @@
     8.4  # Post install/remove commands for Tazpkg.
     8.5  post_install()
     8.6  {
     8.7 -	depmod -a -b "$(dirname $1/lib/modules/*/modules.dep)"
     8.8 +	depmod -a -b /$1
     8.9  }
    8.10  
    8.11  post_remove()
     9.1 --- a/squashfs/receipt	Wed Apr 09 14:39:53 2008 +0000
     9.2 +++ b/squashfs/receipt	Wed Apr 09 17:18:31 2008 +0000
     9.3 @@ -82,7 +82,7 @@
     9.4  # Post install/remove commands for Tazpkg.
     9.5  post_install()
     9.6  {
     9.7 -	depmod -a -b "$(dirname $1/lib/modules/*/modules.dep)"
     9.8 +	depmod -a -b /$1
     9.9  }
    9.10  
    9.11  post_remove()