Univention Bugzilla – Attachment 9807 Details for
Bug 48384
Add LDAP indices for ucsschoolRole
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix "if", add "ended" message
62ucs-school-master.patch (text/plain), 1.83 KB, created by
Daniel Tröder
on 2019-01-21 08:57 CET
(
hide
)
Description:
fix "if", add "ended" message
Filename:
MIME Type:
Creator:
Daniel Tröder
Created:
2019-01-21 08:57 CET
Size:
1.83 KB
patch
obsolete
>diff --git a/ucs-school-metapackage/62ucs-school-master.inst b/ucs-school-metapackage/62ucs-school-master.inst >index 2b78c163a..a99240b6d 100755 >--- a/ucs-school-metapackage/62ucs-school-master.inst >+++ b/ucs-school-metapackage/62ucs-school-master.inst >@@ -110,19 +110,20 @@ if [ $JS_LAST_EXECUTED_VERSION -lt 5 ] ; then > [ -e /var/univention-join/joined ] && > univention-ldapsearch -LLL -o ldif-wrap=no -b cn=Subschema -s base attributeTypes | grep -Fq "NAME 'ucsschoolSchool'" && > univention-ldapsearch -LLL -o ldif-wrap=no -b cn=Subschema -s base attributeTypes | grep -Fq "NAME 'ucsschoolSourceUID'" && >- univention-ldapsearch -LLL -o ldif-wrap=no -b cn=Subschema -s base attributeTypes | grep -Fq "NAME 'ucsschoolRecordUID'" >+ univention-ldapsearch -LLL -o ldif-wrap=no -b cn=Subschema -s base attributeTypes | grep -Fq "NAME 'ucsschoolRecordUID'" && > univention-ldapsearch -LLL -o ldif-wrap=no -b cn=Subschema -s base attributeTypes | grep -Fq "NAME 'ucsschoolRole'" > then > echo "Updating LDAP indices..." > unset stop_and_start_slapd > pidof slapd >/dev/null 2>/dev/null && stop_and_start_slapd=yes >- [ -n "$stop_and_start_slapd" ] && invoke-rc.d slapd stop >+ [ -n "$stop_and_start_slapd" ] && service slapd stop > /usr/share/univention-ldap/ldap_setup_index \ > --verbose \ > --add-eq ucsschoolSchool --add-eq ucsschoolSourceUID --add-eq ucsschoolRecordUID --add-eq ucsschoolRole \ > --add-pres ucsschoolSchool --add-pres ucsschoolSourceUID --add-pres ucsschoolRecordUID --add-pres ucsschoolRole \ > --add-sub ucsschoolRecordUID --add-sub ucsschoolRole || die >- [ -n "$stop_and_start_slapd" ] && invoke-rc.d slapd start >+ [ -n "$stop_and_start_slapd" ] && service slapd start >+ echo "Finished updating LDAP indices." > else > echo "ERROR: cannot update LDAP indices (ldap server not running?) - stopping here" > exit 1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 48384
: 9807