[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#235866: lintian: False positives: postrm-does-not-call-updatemenus/postinst-does-not-call-updatemenus



Package: lintian
Version: 1.22.11
Severity: normal
Tags: sid

The follwing errors are produced:
E: limewire: postinst-does-not-call-updatemenus usr/lib/menu/limewire
N:
N:   Since the package installs a file in either /usr/lib/menu or
N:   /etc/menu-methods, the package should probably call the update-menus
N:   command in it's postinst script.
N:   
N:   For example, use the following code in your maintainer script:
N:    if [ -x /usr/bin/update-menus ] ; then update-menus ; fi
N:
E: limewire: postrm-does-not-call-updatemenus usr/lib/menu/limewire
N:
N:   Since the package installs a file in either /usr/lib/menu or
N:   /etc/menu-methods, the package should probably call the update-menus
N:   command in it's postrm script.
N:   
N:   For example, use the following code in your maintainer script:
N:    if [ -x /usr/bin/update-menus ] ; then update-menus ; fi
N:

However, these do actually exist in debian/postrm and debian/postinst:
[maulkin@vivacia:/home/debian/limewire-3.8.5] $ grep update-menus debian/*
debian/changelog:  * Add call to update-menus in postinst and postrm. 
debian/postinst:  if [ -x /usr/bin/update-menus ] ; then update-menus ; fi
debian/postrm:  if [ -x /usr/bin/update-menus ] ; then update-menus ; fi

Many thanks,
Neil McGovern
-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.0
Locale: LANG=en_GB, LC_CTYPE=en_GB

Versions of packages lintian depends on:
ii  binutils                   2.14.90.0.7-5 The GNU assembler, linker and bina
ii  diffstat                   1.34-1        produces graph of changes introduc
ii  file                       4.07-2        Determines file type using "magic"
ii  man-db                     2.4.2-10      The on-line manual pager
ii  perl                       5.8.3-2       Larry Wall's Practical Extraction 

-- no debconf information



Reply to: