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

(-)a/app-misc/ca-certificates/ca-certificates-20160104.3.21.ebuild (-2 / +1 lines)
Lines 174-184 pkg_postinst() { Link Here
174
174
175
	local c badcerts=0
175
	local c badcerts=0
176
	for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do
176
	for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do
177
		ewarn "Broken symlink for a certificate at $c"
178
		badcerts=1
177
		badcerts=1
179
	done
178
	done
180
	if [ ${badcerts} -eq 1 ]; then
179
	if [ ${badcerts} -eq 1 ]; then
181
		ewarn "Removing the following broken symlinks:"
180
		ewarn "Removing the following broken symlinks:"
182
		ewarn "$(find -L "${EROOT}"/etc/ssl/certs/ -type l -printf '%p -> %l\n' -delete)"
181
		ewarn "$(find -L "${EROOT}"etc/ssl/certs/ -type l -printf '     %p -> %l\n' -delete)"
183
	fi
182
	fi
184
}
183
}

Return to bug 575124