On Fri, Jul 24, 2009 at 03:43:47PM +0200, Steve Langasek wrote: > Patches will be considered.
The second hunk isn't relevant to bash, but it seems a waste to call ls and head for no reason. --- debian/libpam0g.postinst.orig 2009-07-24 08:59:07.000000000 -0500 +++ debian/libpam0g.postinst 2009-07-24 09:00:38.000000000 -0500 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # postinst based heavily on the postinst of libssl0.9.8, courtesy of # Christoph Martin. @@ -73,7 +73,7 @@ for service in $check; do if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then - idl=$(ls /etc/init.d/${service} 2> /dev/null | head -n 1) + idl="/etc/init.d/${service}" if [ -n "$idl" ] && [ -x $idl ]; then services="$service $services" else -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org