Ticket #96: sophomorix-pgldap.postinst_paedml.diff

File sophomorix-pgldap.postinst_paedml.diff, 859 bytes (added by tschmitt, 3 years ago)
  • debian/sophomorix-pgldap.postinst

    alt neu  
    6666 
    6767case "$1" in 
    6868    configure) 
     69 
     70    # checking for linuxmuster 
     71    if [ -e /usr/share/linuxmuster/config/dist.conf ]; then 
     72                        echo "Hmm, I'm running on linuxmuster ..." 
     73      . /usr/share/linuxmuster/config/dist.conf 
     74      if [ ! -e "$INSTALLED" ]; then 
     75        echo "Linuxmuster is not yet configured, therefore I'm skipping package configuration." 
     76        exit 0 
     77      fi 
     78    fi 
     79 
    6980    # calling the setup-script of sophomorix to create a new database 
    7081    echo "calling sophomorix-setup-pgldap --slapd-standalone --oldversion $old_version --newversion $new_version" 
    7182    sophomorix-setup-pgldap --slapd-standalone --oldversion "$old_version" --newversion "$new_version"