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

(-)libquicktime-0.9.7-r1.ebuild.orig (-7 / +12 lines)
Lines 73-85 Link Here
73
}
73
}
74
74
75
pkg_preinst() {
75
pkg_preinst() {
76
	if [[ -d /usr/include/quicktime && ! -L /usr/include/quicktime ]]; then
76
	if [[ ! -d /usr/include/quicktime && ! -L /usr/include/quicktime ]]; then
77
		einfo "For compatibility with other quicktime libraries, ${PN} was"
77
78
		einfo "going to create a /usr/lib/quicktime symlink, but for some,"
78
		einfo "Installing libquicktime with new compatability symlink"
79
		einfo "on your system, that is a directory."
79
		
80
		einfo "Please check that is empty, and remove it, or submit a bug"
80
	elif [[ -d /usr/include/quicktime && ! -L /usr/include/quicktime ]]; then
81
		einfo "telling us which package owns the directory."
81
82
		die "/usr/include/quicktime is a directory."
82
			einfo "For compatibility with other quicktime libraries, ${PN} was"
83
			einfo "going to create a /usr/include/quicktime symlink, but for some"
84
			einfo "reason, on your system, /usr/include/quicktime is a directory."
85
			einfo "Please check that it is empty, and remove it, or submit a bug"
86
			einfo "telling us which package owns the directory."
87
			die "/usr/include/quicktime is a directory."
83
	fi
88
	fi
84
}
89
}
85
90

Return to bug 116546