Skip to content

Commit 47ff232

Browse files
committed
Create directories if they're missing when updating CA certs.
1 parent 22f3cdd commit 47ff232

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ChangeLog

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ sasl-xoauth2 (0.25) unstable; urgency=low [NOT YET RELEASED]
22

33
* Prevent truncation when writing logs.
44
* Allow token-level username overrides.
5+
* Script that updates CA certificates creates directories if missing.
56

6-
-- Tarick Bedeir <[email protected]> Tue, 18 Jul 2023 09:01:00 -0700
7+
-- Tarick Bedeir <[email protected]> Sun, 08 Sep 2024 20:30:00 -0700
78

89
sasl-xoauth2 (0.24) unstable; urgency=low
910

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/sh
22

33
# Don't give an error if, for example, postfix is not installed.
4+
mkdir /var/spool/postfix/etc/ssl || true
5+
mkdir /var/spool/postfix/etc/ssl/certs || true
46
cp /etc/ssl/certs/ca-certificates.crt /var/spool/postfix/etc/ssl/certs/ca-certificates.crt || true

0 commit comments

Comments
 (0)