|
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 |
} |