Fix typo in postinst script

This commit is contained in:
Benjamin Dauvergne 2010-06-18 15:21:38 +02:00
parent 9288491d72
commit 38f08984ad
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ case "$1" in
# Rerun slapd since schema could have been modified
if [ -f /etc/init.d/slapd ]; then
if [ -a -x "`which invoke-rc.d 2>/dev/null`" ]; then
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d slapd restart || exit $?
else
/etc/init.d/slapd restart || exit $?