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

(-)asterisk-1.2.27.ebuild.orig (-5 / +4 lines)
Lines 278-290 Link Here
278
	if is_ast10update; then
278
	if is_ast10update; then
279
		elog "Updating from old (pre-1.2) asterisk version, new configuration files have been installed"
279
		elog "Updating from old (pre-1.2) asterisk version, new configuration files have been installed"
280
		elog "into "${ROOT}"etc/asterisk, use etc-update or dispatch-conf to update them"
280
		elog "into "${ROOT}"etc/asterisk, use etc-update or dispatch-conf to update them"
281
	elif has_version "net-misc/asterisk"; then
282
		elog "Configuration samples have been moved to: $ROOT/usr/share/doc/${PF}/conf"
283
		insinto /usr/share/doc/${PF}/conf
284
		doins "${D}"etc/asterisk/*.conf*
285
		rm -f "${D}"etc/asterisk/*.conf* 2>/dev/null
286
	fi
281
	fi
287
282
283
	elog "Configuration samples have been moved to: $ROOT/usr/share/doc/${PF}/conf"
284
	insinto /usr/share/doc/${PF}/conf
285
	doins "${D}"etc/asterisk/*.conf*
286
288
	# don't delete these directories, even if they are empty
287
	# don't delete these directories, even if they are empty
289
	for x in voicemail meetme system dictate monitor tmp; do
288
	for x in voicemail meetme system dictate monitor tmp; do
290
		keepdir /var/spool/asterisk/${x}
289
		keepdir /var/spool/asterisk/${x}

Return to bug 185412