Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 174757
Collapse All | Expand All

(-)oprofile-0.9.1-r1.ebuild (-1 / +3 lines)
Lines 69-75 Link Here
69
}
69
}
70
70
71
pkg_postinst() {
71
pkg_postinst() {
72
	[[ ${ROOT} == / ]] && /sbin/modules-update
72
	if [[ ${ROOT} == / ]] ; then
73
		[[ -x /sbin/update-modules ]] && /sbin/update-modules || /sbin/modules-update
74
	fi
73
75
74
	echo
76
	echo
75
	elog "Now load the oprofile module by running:"
77
	elog "Now load the oprofile module by running:"
(-)oprofile-0.9.2.ebuild (-1 / +3 lines)
Lines 66-72 Link Here
66
}
66
}
67
67
68
pkg_postinst() {
68
pkg_postinst() {
69
	[[ ${ROOT} == / ]] && /sbin/modules-update
69
	if [[ ${ROOT} == / ]] ; then
70
		[[ -x /sbin/update-modules ]] && /sbin/update-modules || /sbin/modules-update
71
	fi
70
72
71
	echo
73
	echo
72
	elog "Now load the oprofile module by running:"
74
	elog "Now load the oprofile module by running:"

Return to bug 174757