Index: univention-kde-profile-builder =================================================================== --- univention-kde-profile-builder (Revision 25565) +++ univention-kde-profile-builder (Arbeitskopie) @@ -340,21 +340,14 @@ #!/bin/sh VERSION=1 +. /usr/share/univention-join/joinscripthelper.lib +joinscript_init -eval `univention-baseconfig shell` +eval "$(univention-config-registry shell)" -if ! test -e "/usr/share/univention-join/.joined"; then - echo "The server has not joined yet" - exit 1 -fi - -touch /usr/lib/univention-install/.index.txt - -test -n "`grep "univention-kde-profile_@@@profile_name@@@ successful" /usr/lib/univention-install/.index.txt`" && exit 1 - univention-admin settings/default modify $@ --dn cn=default,cn=univention,$ldap_base --append defaultKdeProfiles="/usr/share/univention-kde-profiles/@@@pkg_name@@@" -test -n "`grep "univention-kde-profile_@@@profile_name@@@ successful" /usr/lib/univention-install/.index.txt`" || echo "univention-kde-profile_@@@profile_name@@@ successful" >>/usr/lib/univention-install/.index.txt +joinscript_save_current_version exit 0 EndOfFile