Changeset 1938

Show
Ignore:
Timestamp:
09/09/07 22:48:42 (1 year ago)
Author:
anarcat
Message:

try to rely on the actual .so presence instead of the package for libapache-mod-php*

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/install/alternc.install

    r1935 r1938  
    181181# Apache will not start without this file 
    182182touch /var/alternc/apacheconf/override_php.conf 
    183 php=`dpkg -l libapache*-mod-php* | grep ^ii | sed -e 's/^.*libapache.\?-mod-php\(.\).*$/php\1/' | tail -1` 
     183php=`ls /usr/lib/apache/*/*php*.so | sed -e 's/^.*libphp\(.\)\.so$/php\1/' | tail -1` 
    184184if [ -x /usr/sbin/apache ] 
    185185then