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

(-)orig/DEBIAN/postinst (-4 / +11 lines)
 Lines 34-43    Link Here 
34
	else
34
	else
35
		if grep -q '^DISTRIB_ID="*Univention"*$' /etc/lsb-release
35
		if grep -q '^DISTRIB_ID="*Univention"*$' /etc/lsb-release
36
		then
36
		then
37
			/usr/share/egroupware/doc/rpm-build/post_install.php \
37
38
            	--distro univention \
38
			if [ -n "$DOCKER_HOST_NAME" -a -n "$DB_HOST" ]; then
39
				--admin_user "Administrator" \
39
				# docker UCS setup, use appcenter join script
40
				--admin_passwd "*unchanged*" 2>&1 | /usr/bin/tee -a $install_log
40
				:
41
			else
42
				# normal UCS setup
43
				/usr/share/egroupware/doc/rpm-build/post_install.php \
44
					--distro univention \
45
					--admin_user "Administrator" \
46
					--admin_passwd "*unchanged*" 2>&1 | /usr/bin/tee -a $install_log
47
			fi
41
		else
48
		else
42
			# Get configuration passwords
49
			# Get configuration passwords
43
			db_get "egroupware/header/user"
50
			db_get "egroupware/header/user"

Return to bug 42793