Bug#298845: modules packages may run depmod

2005-03-10 Thread Eduard Bloch
Package: fuse-source
Version: 2.2-2
Severity: wishlist
Tags: patch

Hello,

the modules packages may run depmod -a (or -A but -a is more reliable)
after the installation. You can do this with something like this...

cat debian/dev/shfs/debian/shfs-module-_KVERS_.postinst.modules.in 
#!/bin/sh
set -e

if [ `uname -r` = _KVERS_ ] ; then
   depmod -a 
fi

#DEBHELPER#


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-rc5
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages fuse-source depends on:
ii  bzip2 1.0.2-5high-quality block-sorting file co
ii  gcc [c-compiler]  4:3.3.5-1  The GNU C compiler
ii  gcc-3.3 [c-compiler]  1:3.3.5-10 The GNU C compiler
ii  gcc-3.4 [c-compiler]  3.4.3-11   The GNU C compiler
ii  make  3.80-9 The GNU version of the make util

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#298845: modules packages may run depmod

2005-03-10 Thread Bartosz Fenski aka fEnIo
On Thu, Mar 10, 2005 at 12:27:20PM +0100, Eduard Bloch wrote:
 Hello,

Hello Eduard. 

 the modules packages may run depmod -a (or -A but -a is more reliable)
 after the installation. You can do this with something like this...

[...]

Thanks for provided solution. I'll include it with next upload.

But shouldn't I call depmod in postrm too?

regards
fEnIo

-- 
  ,''`.  Bartosz Fenski | mailto:[EMAIL PROTECTED] | pgp:0x13fefc40 | irc:fEnIo
 : :' :   32-050 Skawina - Glowackiego 3/15 - w. malopolskie - Poland
 `. `'   phone:+48602383548 | proud Debian maintainer and user
   `-  http://skawina.eu.org | jid:[EMAIL PROTECTED] | rlu:172001


signature.asc
Description: Digital signature