From 0eb150ba760b0ab9c286e2acd5105a762b90af1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Mon, 12 Jan 2026 15:24:47 +0100 Subject: Make sure the path exists before creating dorsync.conf (mga#34826) --- dorsync | 1 + 1 file changed, 1 insertion(+) diff --git a/dorsync b/dorsync index b9d8fe6..f6e4db2 100644 --- a/dorsync +++ b/dorsync @@ -18,6 +18,7 @@ XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" conf_file="$XDG_CONFIG_HOME/Mageia/dorsync.conf" generate_config_file () { + mkdir -p "$XDG_CONFIG_HOME/Mageia" cat << EOF > "$conf_file" ############################################# # Configuration file for the dorsync script # -- cgit v1.2.1