From: Michael Tremer Date: Tue, 29 Apr 2025 15:22:37 +0000 (+0000) Subject: core194: Fix missing whitespace and quote filenames X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5f0a9eb10ee55181179dbb54985c9559e5390ba9;p=people%2Fstevee%2Fipfire-2.x.git core194: Fix missing whitespace and quote filenames Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/core/194/update.sh b/config/rootfiles/core/194/update.sh index 2ab4ca2a2..b758c7bf6 100644 --- a/config/rootfiles/core/194/update.sh +++ b/config/rootfiles/core/194/update.sh @@ -104,7 +104,7 @@ ldconfig /usr/local/bin/filesystem-cleanup # Increment ipsec serial file if x509 certificates present and no content in index.txt -if [ -e /var/ipfire/certs/hostcert.pm ] && [ -z /var/ipfire/certs/index.txt]; then +if [ -e "/var/ipfire/certs/hostcert.pm" ] && [ -z "/var/ipfire/certs/index.txt" ]; then sed -i "s/01/02/" /var/ipfire/certs/serial fi