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

(-)file_not_specified_in_diff (-1 / +7 lines)
Line  Link Here
0
-- a/postgresql.eselect
0
++ b/postgresql.eselect
Lines 246-251 Link Here
246
	ln -s "postgresql-${SLOT}" "${B_PATH}/share/postgresql"
246
	ln -s "postgresql-${SLOT}" "${B_PATH}/share/postgresql"
247
	echo "${B_PATH##${ROOT%/}/}/share/postgresql" >> "${E_PATH}/active.links"
247
	echo "${B_PATH##${ROOT%/}/}/share/postgresql" >> "${E_PATH}/active.links"
248
248
249
	# Alias for systemd service
250
	ln -s "${B_PATH}/lib/systemd/system/postgresql-${SLOT}.service" \
251
		"${B_PATH}/lib/systemd/system/postgresql.service"
252
	echo "${B_PATH##${ROOT%/}/}/lib/systemd/system/postgresql.service" \
253
		>> "${E_PATH}/active.links"
254
249
	echo ${SLOT} > "${E_PATH}/active"
255
	echo ${SLOT} > "${E_PATH}/active"
250
	echo "done."
256
	echo "done."
251
	echo "Setting ${SLOT} as default was successful!"
257
	echo "Setting ${SLOT} as default was successful!"

Return to bug 571390