X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Ffunctions.sh;fp=src%2Ffunctions.sh;h=a223c8a540ddc05f3a958ce11fb5537fe0b95d53;hb=42a1df2cf539acf063cd35d2ff5c48c12bb17363;hp=acc4dad7f6773db986db36c3d8fc23c7603944b1;hpb=f4c3fb6b4457bd5a10447ee987916fe47a33e61a;p=carnet-upgrade.git diff --git a/src/functions.sh b/src/functions.sh index acc4dad..a223c8a 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -900,19 +900,6 @@ upgrade_freeradius () { pkgadd freeradius-aai } -# handle openldap upgrade -upgrade_openldap () { - # aai discovers database type from debconf - if [ -f /etc/ldap/slapd.conf ] && grep -q ^database.*bdb /etc/ldap/slapd.conf - then - echo set slapd/backend BDB | debconf-communicate >/dev/null - fi - - # aai does not depend on the new openldap version - pkgadd slapd - pkgadd openldap-aai -} - # handle mysql 5.0 to 5.1 upgrade upgrade_mysql () { if pkg mysql-server || pkg mysql-server-5.0; then