Ignore:
Timestamp:
11/29/08 20:48:37 (3 years ago)
Author:
tschmitt
Message:

paedml40-upgrade: div. Anpassungen bzgl. paedML 4.0.2; postinst: schulkonsole db.conf update nochmal verbessert.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/linuxmuster-base/trunk/debian/postinst

    r171 r404  
    601601        fi 
    602602 
    603         # ldap db user needs password (1.4.36-paedml1) 
    604         if ! grep -q "02.11.2008" /etc/linuxmuster/schulkonsole/db.conf; then 
     603        # ldap db user needs password (1.4.44-1) 
     604        dbconf=/etc/linuxmuster/schulkonsole/db.conf 
     605        dbuser=`grep ^Username $dbconf | awk -F\= '{ print $2 }'` 
     606        dbpwd=`grep ^Password $dbconf | awk -F\= '{ print $2 }'` 
     607        if [ "$dbuser" != "ldap" -o -z "$dbpwd" ]; then 
    605608                echo "Providing a random password for postgresql user ldap." 
    606609                echo "Warning: Backing up /etc/linuxmuster/schulkonsole/db.conf to db.conf.dpkg-old!" 
Note: See TracChangeset for help on using the changeset viewer.