Changeset 2292

Show
Ignore:
Timestamp:
10/04/08 18:50:14 (2 months ago)
Author:
anarcat
Message:

move basedirprot call to postinst also

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/debian/postinst

    r2291 r2292  
    203203    alternc.install 
    204204 
     205    # Add basedir protection 
     206    /usr/lib/alternc/basedir_prot.sh 
     207 
    205208    if [ -x /usr/sbin/apache ]; then 
    206209        if [ ! -h /etc/apache-ssl/conf.d/alternc.conf ]; then 
  • alternc/trunk/install/alternc.install

    r2291 r2292  
    262262# 
    263263 
    264 # Add basedir protection 
    265 /usr/lib/alternc/basedir_prot.sh 
    266  
    267264# Creating admin user if needed 
    268265HAS_ROOT=`mysql --defaults-file=/etc/alternc/my.cnf -e "SELECT COUNT(*) FROM membres WHERE login = 'admin' OR login = 'root' and su = 1" | tail -1`