Again, the second hunk does not address the bug, but forking for ls and head
would seem to be completely unnecessary.

--- debian/libssl0.9.8.postinst.orig    2009-07-24 09:13:36.000000000 -0500
+++ debian/libssl0.9.8.postinst 2009-07-24 09:14:15.000000000 -0500
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 . /usr/share/debconf/confmodule
 
@@ -96,7 +96,7 @@
            echo "Checking init scripts..."
            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

Reply via email to