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

(-)adjust_kernel_headers (-1 / +2 lines)
Lines 197-203 case "$1" in Link Here
197
		;;
197
		;;
198
	*)
198
	*)
199
		[ -n "${1##*/*}" ] &&
199
		[ -n "${1##*/*}" ] &&
200
			[ "$1" = default -o -z "${1##[2-9].[0-9]*}" ] ||
200
			[ "$1" = default -o "$1" == libc-headers -o -z "${1##[2-9].[0-9]*}" ] ||
201
			fatal "$1: invalid kernel version"
201
			fatal "$1: invalid kernel version"
202
		touch /etc/sysconfig/kernel/include_manual_mode
202
		touch /etc/sysconfig/kernel/include_manual_mode
203
		try_adjust_all "$1"
203
		try_adjust_all "$1"
Lines 214-218 try_adjust_new "/usr/include/linux-$KERN Link Here
214
try_adjust_new "/usr/lib/kernel/$KERNEL_VERSION"
214
try_adjust_new "/usr/lib/kernel/$KERNEL_VERSION"
215
try_adjust_old "/var/lib/kernel/$FULL_KERNEL_VERSION"
215
try_adjust_old "/var/lib/kernel/$FULL_KERNEL_VERSION"
216
try_adjust_old "/usr/lib/kernel/$FULL_KERNEL_VERSION"
216
try_adjust_old "/usr/lib/kernel/$FULL_KERNEL_VERSION"
217
try_adjust_new /usr/include/linux-libc-headers
217
try_adjust_new /usr/include/linux-default
218
try_adjust_new /usr/include/linux-default
218
exit 1
219
exit 1

Return to bug 8422