View | Details | Raw Unified | Return to bug 29241 | Differences between
and this patch

Collapse All | Expand All

(-)univention-lib-1.0.80.orig//shell/ucr.sh (-1 / +1 lines)
 Lines 29-35    Link Here 
29
29
30
is_ucr_true () { # test if UCS variable is "true" or "false"
30
is_ucr_true () { # test if UCS variable is "true" or "false"
31
	local value
31
	local value
32
	value="$(univention-config-registry get "$1")"
32
	value="$(/usr/sbin/univention-config-registry get "$1")"
33
	case "$(echo -n "$value" | tr [:upper:] [:lower:])" in
33
	case "$(echo -n "$value" | tr [:upper:] [:lower:])" in
34
		1|yes|on|true|enable|enabled) return 0 ;;
34
		1|yes|on|true|enable|enabled) return 0 ;;
35
		0|no|off|false|disable|disabled) return 1 ;;
35
		0|no|off|false|disable|disabled) return 1 ;;

Return to bug 29241