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

Bug#796124: lintian: check for duplicate calls to ldconfig



Package: lintian
Version: 2.5.36.1
Severity: wishlist

Some packages calls ldconfig twice in their postinst/postrm scripts. For example libx11-xcb1 postinst reads:

#!/bin/sh
set -e
# Automatically added by dh_makeshlibs
if [ "$1" = "configure" ]; then
       ldconfig
fi
# End automatically added section
# Automatically added by dh_makeshlibs
if [ "$1" = "configure" ]; then
       ldconfig
fi
# End automatically added section


It would be nice if Lintian could detect such mistakes.

--
Jakub Wilk


Reply to: