diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-04-22 14:12:13 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-04-22 14:12:23 -0400 |
commit | b1c73736606c66427cc0efc2d633357a52fb0ad8 (patch) | |
tree | e46e13700419d70669f7ca9c8253ea8feca52541 /app-misc | |
parent | package.mask: we don't mask glibc here (diff) | |
download | gentoo-b1c73736606c66427cc0efc2d633357a52fb0ad8.tar.gz gentoo-b1c73736606c66427cc0efc2d633357a52fb0ad8.tar.bz2 gentoo-b1c73736606c66427cc0efc2d633357a52fb0ad8.zip |
app-misc/ca-certificates: drop duplicate symlink cleanup warning #575124
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/ca-certificates/ca-certificates-20160104.3.23.ebuild | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app-misc/ca-certificates/ca-certificates-20160104.3.23.ebuild b/app-misc/ca-certificates/ca-certificates-20160104.3.23.ebuild index 3aaece4d162c..55d20a1adf7f 100644 --- a/app-misc/ca-certificates/ca-certificates-20160104.3.23.ebuild +++ b/app-misc/ca-certificates/ca-certificates-20160104.3.23.ebuild @@ -169,12 +169,7 @@ pkg_postinst() { "${EROOT}"/usr/sbin/update-ca-certificates --root "${ROOT}" fi - local c badcerts=0 - for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do - ewarn "Broken symlink for a certificate at $c" - badcerts=1 - done - if [ ${badcerts} -eq 1 ]; then + if [ -n "$(find -L "${EROOT}"etc/ssl/certs/ -type l)" ] ; then ewarn "Removing the following broken symlinks:" ewarn "$(find -L "${EROOT}"/etc/ssl/certs/ -type l -printf '%p -> %l\n' -delete)" fi |