[Pkg-openldap-devel] r919 - openldap/trunk/debian
Steve Langasek
vorlon at alioth.debian.org
Sun Dec 16 12:30:23 UTC 2007
Author: vorlon
Date: 2007-12-16 12:30:23 +0000 (Sun, 16 Dec 2007)
New Revision: 919
Modified:
openldap/trunk/debian/slapd.scripts-common
Log:
prune more dead code, install_new_configuration()
Modified: openldap/trunk/debian/slapd.scripts-common
===================================================================
--- openldap/trunk/debian/slapd.scripts-common 2007-12-16 12:26:33 UTC (rev 918)
+++ openldap/trunk/debian/slapd.scripts-common 2007-12-16 12:30:23 UTC (rev 919)
@@ -814,23 +814,6 @@
mv "$conf_new" "$SLAPD_CONF"
}
# }}}
-install_new_configuration() { # {{{
-# Installs a given $2 (new) as new $1 (old) configuration file
-# Usage: install_new_configuration oldconf newconf
- local conf_old="$1"
- local conf_new="$2"
-
- # Make sure we keep the permissions of an old configuration file, this is not
- # really needed anymore because slapd reads it configuration before it drops
- # the privileges.
- if [ -e "$conf_old" ]; then
- assign_permissions "$conf_old" "$conf_new"
- fi
-
- # Move configuration file in place.
- mv "$conf_new" "$conf_old"
-}
-# }}}
backup_config_once() { # {{{
# Create a backup of the current configuration files.
# Usage: backup_config_once
More information about the Pkg-openldap-devel
mailing list