summaryrefslogtreecommitdiff
path: root/source/n/ca-certificates/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/ca-certificates/doinst.sh')
-rw-r--r--source/n/ca-certificates/doinst.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/n/ca-certificates/doinst.sh b/source/n/ca-certificates/doinst.sh
index e8cd8cce..cfd7d795 100644
--- a/source/n/ca-certificates/doinst.sh
+++ b/source/n/ca-certificates/doinst.sh
@@ -13,5 +13,7 @@ config() {
config etc/ca-certificates.conf.new
-chroot . usr/sbin/update-ca-certificates --fresh 1>/dev/null 2>/dev/null
+if [ -x /usr/sbin/update-ca-certificates ]; then
+ /usr/sbin/update-ca-certificates --fresh 1> /dev/null 2> /dev/null
+fi