Ignore:
Timestamp:
10/04/08 18:48:30 (5 years ago)
Author:
anarcat
Message:

move /var/alternc-specific commands from alternc.install to postinst

File:
1 edited

Legend:

Unmodified
Added
Removed
  • alternc/trunk/install/alternc.install

    r2260 r2291  
    182182# Ad-hoc fixes 
    183183# 
    184 # Add access to the management panel 
    185 ln -nsf /var/alternc/bureau /var/alternc/dns/$FQDN_LETTER/$FQDN 
    186  
    187 # Update l18n files 
    188 /usr/share/alternc/install/dopo.sh 
    189  
    190 # Bind stuff 
    191 touch /var/alternc/bind/automatic.conf /var/alternc/bind/slaveip.conf 
    192 chown root:bind /var/alternc/bind/automatic.conf /var/alternc/bind/slaveip.conf 
    193 chmod 640 /var/alternc/bind/automatic.conf /var/alternc/bind/slaveip.conf  
    194 touch /var/run/alternc/refresh_slave 
    195 /usr/lib/alternc/slave_dns 
    196  
    197 # Apache will not start without this file 
    198 touch /var/alternc/apacheconf/override_php.conf 
     184 
    199185php="`ls /usr/lib/apache*/*/*php*.so | sed -e 's/^.*libphp\(.\)\.so$/php\1/' | tail -1`" 
    200186if [ -x /usr/sbin/apache ] 
Note: See TracChangeset for help on using the changeset viewer.