View | Details | Raw Unified | Return to bug 21015
Collapse All | Expand All

(-)univention-kde-profile-builder (-11 / +4 lines)
 Lines 340-360    Link Here 
340
#!/bin/sh
340
#!/bin/sh
341
341
342
VERSION=1
342
VERSION=1
343
. /usr/share/univention-join/joinscripthelper.lib
344
joinscript_init
343
345
344
eval `univention-baseconfig shell`
346
eval "$(univention-config-registry shell)"
345
347
346
if ! test -e "/usr/share/univention-join/.joined"; then
347
        echo "The server has not joined yet"
348
        exit 1
349
fi
350
351
touch /usr/lib/univention-install/.index.txt
352
353
test -n "`grep "univention-kde-profile_@@@profile_name@@@ successful" /usr/lib/univention-install/.index.txt`" && exit 1
354
355
univention-admin settings/default modify $@ --dn cn=default,cn=univention,$ldap_base --append defaultKdeProfiles="/usr/share/univention-kde-profiles/@@@pkg_name@@@"
348
univention-admin settings/default modify $@ --dn cn=default,cn=univention,$ldap_base --append defaultKdeProfiles="/usr/share/univention-kde-profiles/@@@pkg_name@@@"
356
349
357
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
350
joinscript_save_current_version
358
351
359
exit 0
352
exit 0
360
EndOfFile
353
EndOfFile

Return to bug 21015